LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-15-2011, 09:35 AM   #1
MichelleE1956
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 2
Exclamation DEBIAN PACKAGE MANAGER crash, stuck, dead. How do I reset or clear repositories.


ARG! PLEASE HELP! DEBIAN PACKAGE MANAGER BUG!?
The package manager is scrambled in my Ubuntu 11.04.
It started with the repositories list being scrambled with multiple entries.
Now when the Package Manager is launched it just accesses the hard drive forever.
I did give it a half an hour just in case so it clearly stuck in a loop of some
kind.
What I'd like to know is: Is there some way to reset, clear, turn off or
de-select the added Repositories list from the command line (terminal.)
This seems to be the only way since the Package Manager gets stuck.
Keep in mind that I'm only slightly competent with Linux and have no idea where
the Debian Package Manager data is located or how it works.
If I go poking around without at least some guidance I may make things
worse.
Please respond to: michelleellert1956@gmail.com (preferred) or
michelleellert@yahoo.com

Update: The problem seems to be spreading. Got stuck again while saving this
message. Turned off the system, rebooted to recovery mode and did a file system
check. Okay for now. Switching to clean OS on other partition.

I'll check for answers there but it's only Ubuntu 10.04 and I'd very much
prefer to have 11.04 working and not have an effectively dead partition and don't
want to loose everything on it with a re-format and 2 day re-install process
(no installation disk.)

Michelle Rachel Ellert
 
Old 05-15-2011, 10:12 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
The repositories are listed in /etc/apt/sources.list. You should post the contents of that file here. You also should post any error message you are getting, because we're not clairvoyant.

You can try "apt-get update" to re-get the lists of packages.

Asking us to reply to you by email is rude.
 
Old 05-15-2011, 09:55 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
The package manager is scrambled in my Ubuntu 11.04.
It is also the wrong forum.

Debian is not Ubuntu.
 
Old 05-15-2011, 11:39 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
apt is non-Debian ?.

Interesting.
 
Old 05-16-2011, 02:55 AM   #5
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
ARG! PLEASE HELP! DEBIAN PACKAGE MANAGER BUG!?
The package manager is scrambled in my Ubuntu 11.04.
It started with the repositories list being scrambled with multiple entries.
Now when the Package Manager is launched it just accesses the hard drive forever.
I did give it a half an hour just in case so it clearly stuck in a loop of some
kind.
What I'd like to know is: Is there some way to reset, clear, turn off or
de-select the added Repositories list from the command line (terminal.)
This seems to be the only way since the Package Manager gets stuck.
Keep in mind that I'm only slightly competent with Linux and have no idea where
the Debian Package Manager data is located or how it works.
If I go poking around without at least some guidance I may make things
worse.
Please respond to: michelleellert1956@gmail.com (preferred) or
michelleellert@yahoo.com

Update: The problem seems to be spreading. Got stuck again while saving this
message. Turned off the system, rebooted to recovery mode and did a file system
check. Okay for now. Switching to clean OS on other partition.

I'll check for answers there but it's only Ubuntu 10.04 and I'd very much
prefer to have 11.04 working and not have an effectively dead partition and don't
want to loose everything on it with a re-format and 2 day re-install process
(no installation disk.)

Michelle Rachel Ellert

You should provide more info than saying "package manager is dead" because that doesnt really help describing the issue.
What happens and in what exact circumstances?

As before said, /etc/apt/sources.list holds the list of repositories. But some programs put files in the /etc/apt/sources.list.d/ folder and those will be added to the list also.

Just post the contents of /etc/apt/sources.list for starters.

Last edited by gradinaruvasile; 05-16-2011 at 03:03 AM.
 
Old 05-16-2011, 09:54 AM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Besides your /etc/apt/sources.list running;
Code:
sudo apt-get update
and posting the results would be helpful in giving some real information as to what is going on.
 
Old 05-16-2011, 05:02 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Wink

Quote:
Originally Posted by syg00 View Post
apt is non-Debian ?.

Interesting.

The OP does not mention apt, he says
Quote:
ARG! PLEASE HELP! DEBIAN PACKAGE MANAGER BUG!?
The package manager is scrambled in my Ubuntu 11.04.
Chances are he is either using software-center or Synaptic.
Even if he is using apt Ubuntu changes packages so what might work on Debian may or may not work exactly the same on Ubuntu.
 
1 members found this post helpful.
Old 05-16-2011, 07:17 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by craigevil View Post
The OP does not mention apt, he says


Chances are he is either using software-center or Synaptic.
Even if he is using apt Ubuntu changes packages so what might work on Debian may or may not work exactly the same on Ubuntu.
Absolutely. Ubuntu changes some package names and more importantly many paths. Just your simple background images are in /usr/share/backgrounds under Ubuntu and in /user/share/images/desktop-base under Debian.

Imagine what some of the other changes are and how little things like that build up as you get deeper into the system.

The install scripts are where folks get into trouble if they do not know better than to mix Debian and Ubuntu repos. They point different directions.

I use Debian and my wife uses Ubuntu. Same kernel so about the same repo you would think. You would be about right. About right is a real good way to have a wreck.
 
Old 05-24-2011, 08:48 AM   #9
MichelleE1956
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 2
Thumbs up Synaptic Package Manager

I realize now this is the wrong forum. Anyway, I thought I'd resolve the thread.
After trying everything posted here with no change it became clear it was the PM itself and without that I couldn't reinstall the package. It's been 20 years at least since I've used Linux from the command line so further hacking there would probably just make things worse.
I ended up starting from scratch with the Ubu 8.04 install disk. Although most here probably already know this I had to learn the hard way to always do updates/upgrades incrementally as possible. So, it was a long proses to get back to Ubuntu 10.10 and I'll stick with that as it seems to be solid. Also, it appears that the original problem was caused by manually adding repositories (cut and paste) so I'll avoid that in the future. All is well now thanks.
 
Old 05-29-2011, 09:09 AM   #10
jeremy-passarelli
LQ Newbie
 
Registered: May 2011
Location: USA
Distribution: Chakra
Posts: 17

Rep: Reputation: 10
Smile

[QUOTE=The package manager is scrambled in my Ubuntu 11.04.[/QUOTE]

This is the wrong forum. You should go ask this question in the Ubuntu forums. Also, Ubuntu is NOT Debian!
 
Old 05-29-2011, 04:28 PM   #11
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
If this is resolved please mark the thread solved. This option is available only to the OP and is located under thread tools at the top right of the page.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic keeps asking to reload package info - cannot add repositories (debian lenny) Rexx Magnus Linux - Newbie 1 08-03-2008 06:05 PM
package manager gets stuck on ferdora core 6 galrub Fedora 10 05-17-2007 07:34 AM
How do I add repositories to Adept (package manager)? BigFoot13 Ubuntu 3 10-19-2006 04:44 PM
Compiz package in Debian unstable repositories fakie_flip Linux - Software 1 10-06-2006 03:47 PM
Package Manager stuck on source lhoff Linux - Newbie 0 12-30-2001 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration