LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update lists not working
#6
Hm, looks like /var/lib/dpkg/status got messed up
There are backups of this file
To list the backups use
Code:
ls -l /var/backups/dpkg.status.*

Now copy /var/backups/dpkg.status.0 to /var/lib/dpkg/status
Code:
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
And try to run the updates.

If that doesn't help try to use the other backup files
but as you see the files are compressed
Code:
ls  /var/backups/dpkg.status.*
/var/backups/dpkg.status.0     /var/backups/dpkg.status.4.gz
/var/backups/dpkg.status.1.gz  /var/backups/dpkg.status.5.gz
/var/backups/dpkg.status.2.gz  /var/backups/dpkg.status.6.gz
/var/backups/dpkg.status.3.gz
so you have to unpack them first
For example /var/backups/dpkg.status.1.gz
Code:
sudo gunzip /var/backups/dpkg.status.1.gz
Then you can copy to /var/lib/dpkg/status
Code:
sudo cp /var/backups/dpkg.status.1 /var/lib/dpkg/status
Hope this helps  Smile
Reply


Messages In This Thread
Update lists not working - by glin22 - 02-10-2016, 04:09 AM
Re: Update lists not working - by glin22 - 02-10-2016, 04:11 AM
Re: Update lists not working - by torreydale - 02-10-2016, 04:38 AM
Re: Update lists not working - by glin22 - 02-10-2016, 05:23 AM
Re: Update lists not working - by torreydale - 02-10-2016, 11:25 AM
Re: Update lists not working - by misko_2083 - 02-10-2016, 03:47 PM
Re: Update lists not working - by glin22 - 02-10-2016, 07:29 PM
Re: Update lists not working - by glin22 - 02-10-2016, 08:05 PM
Re: Update lists not working - by torreydale - 02-10-2016, 08:34 PM
Re: Update lists not working - by glin22 - 02-10-2016, 10:40 PM
Re: Update lists not working - by torreydale - 02-10-2016, 11:02 PM
Re: Update lists not working - by UnklAdM - 02-11-2016, 01:16 AM
Re: Update lists not working - by LinuxNoob - 02-11-2016, 01:21 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)