You are not logged in.

#1 2023-04-25 13:18:41

brickhead8
Member
Registered: 2023-04-25
Posts: 4

Warning given when extracting...Failed to create!

I am unable to download and update packages

Here is the output:

warning: jre17-openjdk-17.0.5.u1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) jre17-openjdk-17.0.5.u1-1

Total Installed Size:  0.49 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                       [#################################################] 100%
(1/1) checking package integrity                                                     [#################################################] 100%
(1/1) loading package files                                                          [#################################################] 100%
(1/1) checking for file conflicts                                                    [#################################################] 100%
(1/1) checking available disk space                                                  [#################################################] 100%
warning: could not get file information for usr/lib/jvm/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjawt.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjawt.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjsound.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjsound.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.so
warning: could not get file information for usr/share/licenses/jre17-openjdk
:: Processing package changes...
error: cannot remove file '/usr/': Read-only file system
(1/1) reinstalling jre17-openjdk                                                     [#################################################] 100%
warning: warning given when extracting /usr/lib/jvm/ (Can't create '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/ (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/ (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.debuginfo (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.so (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libjawt.debuginfo (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libjawt.so (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libjsound.debuginfo (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libjsound.so (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.debuginfo (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.so (Failed to create dir '/usr/lib/jvm')
warning: warning given when extracting /usr/share/licenses/jre17-openjdk (Can't create '/usr/share/licenses/jre17-openjdk')
/tmp/alpm_BwF3nU/.INSTALL: line 5: /usr/bin/archlinux-java: No such file or directory
/tmp/alpm_BwF3nU/.INSTALL: line 33: /usr/bin/archlinux-java: No such file or directory
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
touch: setting times of '/usr': Read-only file system
error: command failed to execute correctly

Last edited by brickhead8 (2023-04-25 13:32:55)

Offline

#2 2023-04-25 13:20:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,651

Re: Warning given when extracting...Failed to create!

error: cannot remove file '/usr/': Read-only file system

The error is pretty clear. Do you have a separate /usr partition? How is it mounted?

Offline

#3 2023-04-25 13:22:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Warning given when extracting...Failed to create!

Please post the output of the command `mount` in [code] tags.  Also please edit your first post to add code tags around the pacman output too.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2023-04-25 13:25:16

brickhead8
Member
Registered: 2023-04-25
Posts: 4

Re: Warning given when extracting...Failed to create!

Scimmia wrote:
error: cannot remove file '/usr/': Read-only file system

The error is pretty clear. Do you have a separate /usr partition? How is it mounted?

warning: jre17-openjdk-17.0.5.u1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) jre17-openjdk-17.0.5.u1-1

Total Installed Size:  0.49 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                       [#################################################] 100%
(1/1) checking package integrity                                                     [#################################################] 100%
(1/1) loading package files                                                          [#################################################] 100%
(1/1) checking for file conflicts                                                    [#################################################] 100%
(1/1) checking available disk space                                                  [#################################################] 100%
warning: could not get file information for usr/lib/jvm/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libawt_xawt.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjawt.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjawt.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjsound.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libjsound.so
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.debuginfo
warning: could not get file information for usr/lib/jvm/java-17-openjdk/lib/libsplashscreen.so
warning: could not get file information for usr/share/licenses/jre17-openjdk
:: Processing package changes...
(1/1) reinstalling jre17-openjdk                                                     [#################################################] 100%
/tmp/alpm_Eyhz5X/.INSTALL: line 5: /usr/bin/archlinux-java: No such file or directory
/tmp/alpm_Eyhz5X/.INSTALL: line 33: /usr/bin/archlinux-java: No such file or directory
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Fixed the mount issue

Last edited by brickhead8 (2023-04-25 13:33:26)

Offline

#5 2023-04-25 13:34:56

brickhead8
Member
Registered: 2023-04-25
Posts: 4

Re: Warning given when extracting...Failed to create!

Trilby wrote:

Please post the output of the command `mount` in [code] tags.  Also please edit your first post to add code tags around the pacman output too.

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=7546356k,nr_inodes=1886589,mode=755,inode64)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=3034852k,nr_inodes=819200,mode=755,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
/dev/nvme0n1p5 on / type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/)
/dev/nvme0n1p7 on /var type ext4 (rw,relatime)
overlay on /etc type overlay (rw,relatime,lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlays/etc/upper,workdir=/sysroot/var/lib/overlays/etc/work)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14191)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /efi type autofs (rw,relatime,fd=35,pgrp=1,timeout=60,minproto=5,maxproto=5,direct,pipe_ino=18644)
systemd-1 on /esp type autofs (rw,relatime,fd=51,pgrp=1,timeout=60,minproto=5,maxproto=5,direct,pipe_ino=18647)
/dev/nvme0n1p8 on /home type ext4 (rw,relatime,x-systemd.growfs)
/dev/nvme0n1p8 on /opt type ext4 (rw,relatime)
/dev/nvme0n1p8 on /root type ext4 (rw,relatime)
/dev/nvme0n1p8 on /srv type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/cache/pacman type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/lib/docker type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/lib/flatpak type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/lib/systemd/coredump type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/log type ext4 (rw,relatime)
/dev/nvme0n1p8 on /var/tmp type ext4 (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
/dev/mmcblk0p1 on /run/media/mmcblk0p1 type ext4 (rw,noatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1517424k,nr_inodes=379356,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

Offline

#6 2023-04-25 14:10:34

brickhead8
Member
Registered: 2023-04-25
Posts: 4

Re: Warning given when extracting...Failed to create!

I realized my java-runtime-common was corrupt.

I'm a moron.

Offline

Board footer

Powered by FluxBB