online update error

yast or zypper update

#zypper update
[data]
Retrieving package glibc-locale-2.26-lp150.11.9.1.x86_64
(16/44), 6.4 MiB (122.3 MiB unpacked)
Retrieving delta: ./x86_64/glibc-locale-2.26-lp150.11.6.120_lp150.11.9.1.x86_64.drpm, 1.1 MiB
Applying delta: ./glibc-locale-2.26-lp150.11.6.120_lp150.11.9.1.x86_64[error]
applydeltarpm failed.
Bad media attach point: http://download.opensuse.org/update/leap/15.0/oss
History:

  • Create attach point: Can’t find a writable directory to create an attach point

I’m going to try an update install. Can’t find anything on here or the internet. need help.

Start->yast and start->terminal superuser mode won’t start.

#freshclam
ERROR: Can’t create temporary directory /var/lib/clamav/clamav-7b2f30ca3f2eb0d734ff8fc9994d00d6.tmp
Hint: The database directory must be writable for UID 65 or GID 463

this all was working last boot.

No space on disk?

Post

cat /proc/cmdline

btrfs as Filesystem?

Boot stops at command line, will not go to desktop. ‘root’->enter passwordCan’t use ‘mkdir’ to mount a drive, read only partition. Can’t mount BTRFS partition.

BTRFS file system included, System defaults used on opensuse leap 15 - kde. Snapshots enabled,

This 5th time this year opensuse has failed shortly after install. That happened after I started using BTRFS on my partition. Before BTRFS, Linux was always stable for a year. Updated to next opensuse. Stable for a year. etc.

Boot from opensuse dvd - ‘rescue system’.

#mkdir temp

#[mount btrfs partition]

#cat /proc/cmdline

BOOT_IMAGE=/boot/x86_64/loader/linux splash=silent rescue=1

Login as root, see your snapshots:

snapper list

delete snapshots:

snapper delete (from pre)-(to post)

(from pre) and (to post) ist the numbler of the first command, you want to delete.

reboot.

My fault.

Boot into an working snapshot, login as root,

snapper rollback

reboot.

After that, thread #5.

I had to hand copy this output and hand type it in. So, there maybe errors in it. Boot from hard disk.

#cat /proc/cmdline

BOOT_IMAGE=/root/vmlinuz-4.12.14-lp150.12.22-default root=/dev/mapper/system-root resume=/dev/system/swap splash=silent quiet showopts resume=/dev/system/swap splash=silent quiet showopts

I was half-right BTRFS file system was increasing the number of writes on a failing hard drive.

I used the smartmon tools, after looking for failing hard drive info on the net.

Results include:
3 pre-fail
All others: old-age.

Should I continue or get a new hard drive? I noticed a pattern in the failures.The installs were failing in shorter and shorter time periods. My research was matching data on failing a hard drive.

Personally, I would get a new drive. Best not to monkey around with a failing drive.

Alright, thanks for the help. This hard drive is failing. Now, on to my next forum post about the new issue. :stuck_out_tongue:

FYI for everyone else, here’s how. ‘smartmontools’ should be installed in ‘opensuse leap 15’. There is a longer test available (20 mins). I used this simple test. It should be ‘sda’. Else, I recommend using ‘blkid’ to get the info needed.

Superuser mode:

#blkid -o list
[info]
#smartctl -a /dev/sda

Then please, please, please use CODE tags aroud output, as asked before.

For the benefit all those reading, The online update error root cause was both a failing motherboard and hard drive. Both have been replaced, I’v no problems for two weeks straight.

Their was a pattern. The failures were happening in shorter and shorter periods. It was down to two days before the a failure would happen.

Thanks to all for the assistance.

Thank you for that clarification.