You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Update lists not working

Author (Read 9719 times)

0 Members and 1 Guest are viewing this topic.

Re: Update lists not working
« Reply #13 on: February 10, 2016, 08:21:51 PM »
 

LinuxNoob

  • Forum Regular
  • ***
  • 108
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • CPU: 6x AMD Phenom(tm) II X6 1045T Processor

  • MEMORY: 8Gb

  • VIDEO CARD: Gallium 0.4 on AMD RS780
Curious, would this command have fixed his problem as well?
Code: [Select]
sudo dpkg -a --configure
I remember that I was a bit impatient to allow the update to complete once and closed the terminal and rebooted after it had hung there for a while.
I later had the problem of not being able to update. That code cleared it up.
I'v been bashing Windows way before Microsoft.....
 

Re: Update lists not working
« Reply #12 on: February 10, 2016, 08:16:34 PM »
 

UnklAdM

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Core 2 Duo 1.6

  • MEMORY: 3Gb

  • VIDEO CARD: intel
This worked for me, your upstream may vary...

sudo nano /etc/apt/sources.list.d/linuxlite.list

Change 'trusty' to 'beryl'
(fixes problem with linuxlite repo)

Download and install chrome from their website
Google and install 'talkplugin' for google hangouts
(fixes issues with google repos)

sudo apt-get update
sudo apt-get upgrade

Worked for linux lite 2.6 LTS on my Dell XT-2 laptop.

https://coinbase.com/UnklAdM

 - UnklAdM
 

Re: Update lists not working
« Reply #11 on: February 10, 2016, 06:02:50 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
Now go into the program Systemback and create a new restore point.
Want to thank me?  Click my [Thank] link.
 

Re: Update lists not working
« Reply #10 on: February 10, 2016, 05:40:56 PM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
The following is taken from this link:

It seems like your /var/lib/dpkg/status file is corrupted. So try to replace the current status file with the old one.
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bak
sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status

If the above doesn't work, do a web search on "Error occurred while processing samba-libs (NewVersion2)" to see what you get.

Ooooh doggie ! I did your procedure and am back in business !! Machine seems to be working fine now, did a bunch of updates, everything went through well !! Glad I didn't have to go through the whole install process all over again !

Thanks for the tip and to all of the folks who gave help.

Glin22

 

Re: Update lists not working
« Reply #9 on: February 10, 2016, 03:34:10 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
The following is taken from this link:

It seems like your /var/lib/dpkg/status file is corrupted. So try to replace the current status file with the old one.
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bak
sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status

If the above doesn't work, do a web search on "Error occurred while processing samba-libs (NewVersion2)" to see what you get.
Want to thank me?  Click my [Thank] link.
 

Re: Update lists not working
« Reply #8 on: February 10, 2016, 03:05:08 PM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
Hm, looks like /var/lib/dpkg/status got messed up
There are backups of this file
To list the backups use
Code: [Select]
ls -l /var/backups/dpkg.status.*
Now copy /var/backups/dpkg.status.0 to /var/lib/dpkg/status
 
Code: [Select]
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/statusAnd 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: [Select]
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: [Select]
sudo gunzip /var/backups/dpkg.status.1.gzThen you can copy to /var/lib/dpkg/status
Code: [Select]
sudo cp /var/backups/dpkg.status.1 /var/lib/dpkg/statusHope this helps  :)

Thanks a bunch for your ideas and taking the time to help me !

I got an error when I tried your suggestion, it said no such file exists, so I took a peek at /var/backups/    there are no files there whatsoever, I wonder if the best thing is for me to reinstall to set things straight ? It does seem a shame though to have to go through all of that again. I can get into a terminal on the machine but when I try to use either firefox or chrome, they don't work correctly, that is how the system stands right now. I can't get anything cleared up because I can't do any updates. If you have any other ideas on how I can correct my problem without reinstalling, let me know.

Glin22

 

Re: Update lists not working
« Reply #7 on: February 10, 2016, 02:29:33 PM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
Did you click on Select Best Server, Save, and then Reload? 
Have you tried rebooting? 
When you ran the following what was the output of sudo apt-get update?

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

I tried a number of different servers, tried to update but then it gives me "Failed to load the package list, this is a serious problem, try again later, If this problem appears again, please report an error to the developers"

Yes, I have tried reboots but nothing changes.

The output of sudo apt-get update after I remove the lists is exactly the same error as I mentioned in the very first post of this thread.

Thanks for trying to help though !

Glin22
 

Re: Update lists not working
« Reply #6 on: February 10, 2016, 10:47:25 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Hm, looks like /var/lib/dpkg/status got messed up
There are backups of this file
To list the backups use
Code: [Select]
ls -l /var/backups/dpkg.status.*
Now copy /var/backups/dpkg.status.0 to /var/lib/dpkg/status
 
Code: [Select]
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/statusAnd 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: [Select]
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: [Select]
sudo gunzip /var/backups/dpkg.status.1.gzThen you can copy to /var/lib/dpkg/status
Code: [Select]
sudo cp /var/backups/dpkg.status.1 /var/lib/dpkg/statusHope this helps  :)
 

Re: Update lists not working
« Reply #5 on: February 10, 2016, 06:25:48 AM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
Did you click on Select Best Server, Save, and then Reload? 
Have you tried rebooting? 
When you ran the following what was the output of sudo apt-get update?

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

« Last Edit: February 10, 2016, 08:59:10 AM by torreydale »
Want to thank me?  Click my [Thank] link.
 

Re: Update lists not working
« Reply #4 on: February 10, 2016, 12:23:20 AM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
Thanks for your reply, Torreydale.

I tried your suggestion but after doing that it says "couldn't fetch the package cache information lists"

Glin22
 

Re: Update lists not working
« Reply #3 on: February 09, 2016, 11:38:40 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
Go to Software and Updates and select a different update server.  Then rerun the Install Updates utility.
Want to thank me?  Click my [Thank] link.
 

Re: Update lists not working
« Reply #2 on: February 09, 2016, 11:11:24 PM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
Sorry, I forgot to say that I am using LL 2.8.

Glin22
 

Update lists not working
« Reply #1 on: February 09, 2016, 11:09:00 PM »
 

glin22

  • New to Forums
  • *
  • 49
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core 2 duo

  • MEMORY: 4Gb

  • VIDEO CARD: onboard VGA support
Hi folks,

There is some kind of problem happening when I try to update...I get the following errors -

Reading package lists... Error!
E: Problem parsing dependency Breaks
E: Error occurred while processing samba-libs (NewVersion2)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

I tried removing the old lists by doing -

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

so the cache would update but I still get the above errors, I tried rebooting a bunch of times but that didn't help either.

Any ideas on this ?

glin22
« Last Edit: February 15, 2016, 11:13:03 PM by Jerry »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section