You are not logged in.

#1 2016-11-03 05:55:46

sauron_di
Member
Registered: 2014-05-01
Posts: 18

Arch Linux Full system upgrade issue [Solved]

I am getting following error when trying to upgrade the system.

:: Starting full system upgrade...
:: Replace lib32-elfutils with multilib/lib32-libelf? [Y/n] 
:: Replace lib32-libdbus with multilib/lib32-dbus? [Y/n] 
error: could not open file /var/lib/pacman/local/linux-lts-4.4.23-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-lts-4.4.23-1
error: failed to prepare transaction (invalid or corrupted package)

Last edited by sauron_di (2016-11-03 06:39:56)

Offline

#2 2016-11-03 05:57:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch Linux Full system upgrade issue [Solved]


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-11-03 06:11:13

sauron_di
Member
Registered: 2014-05-01
Posts: 18

Re: Arch Linux Full system upgrade issue [Solved]

I executed following, but there was no effect

find /var/cache/pacman/pkg/ -iname "*.part" -exec rm {} \;

However to make sure there are not part files I checked the location and deleted all the "linux-lts-*" files. Looks like this happened after my pacman upgrade crashed.

sudo pacman -Syu

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib-testing is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace lib32-elfutils with multilib/lib32-libelf? [Y/n] y
:: Replace lib32-libdbus with multilib/lib32-dbus? [Y/n] y
error: could not open file /var/lib/pacman/local/linux-lts-4.4.23-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-lts-4.4.23-1
error: failed to prepare transaction (invalid or corrupted package)

Last edited by sauron_di (2016-11-03 06:22:15)

Offline

#4 2016-11-03 06:16:32

sauron_di
Member
Registered: 2014-05-01
Posts: 18

Re: Arch Linux Full system upgrade issue [Solved]

I guess the reason is "/var/lib/pacman/local/linux-lts-4.4.23-1/desc" file is not there in the location,

cd /var/lib/pacman/local/linux-lts-4.4.23-1/
....]$ ls
total 360
drwxr-xr-x 1099 root root  65536 Nov  3 16:58 ..
drwxr-xr-x    2 root root   4096 Oct  2 00:53 .
-rw-r--r--    1 root root 290112 Sep 30 21:43 mtree
-rw-r--r--    1 root root   1226 Sep 30 21:43 install

Last edited by sauron_di (2016-11-03 06:17:51)

Offline

#5 2016-11-03 06:17:51

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

Re: Arch Linux Full system upgrade issue [Solved]

Create one, it's just a text file that will get replaced when that package gets upgraded.

Offline

#6 2016-11-03 06:25:07

sauron_di
Member
Registered: 2014-05-01
Posts: 18

Re: Arch Linux Full system upgrade issue [Solved]

Thanks a lot, Now it's downloading packages... Wonderful,

Really appreciate your prompt responses.... smile

Offline

#7 2016-11-03 06:37:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch Linux Full system upgrade issue [Solved]

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB