Synaptic, softare center & softwaare sources willl not show repositories
Hello Folks,
I Recintly installed Debian Squeeze and trying to get all the goodies installed I had in Lenny. Synaptic, software sources and software center now fails to display and allow selecting from /etc/apt/source.list. When using Synaptic and I chose "Settings" then "Repositories" I now get a message "repositories changed, click reload button" when I do it just reloads and displays downloading 34 packages as it has since first install. Normaly I would get a window where I can select or deselct sources from /etc/apt/sources.list, I also recolect it asked me to insert the DVD I installed the OS from but it does not do this now as well. When opening "software sources" it propmts for root or allows if I have prevoiusly used root but just stalls and then quits. When using "Software Center" and selecting "Edit" then ""Software Sources" I get same results. I verified sources.list exists, backed it up and made a few changes to it and still no results. This most likely has happened since I used smxi to install nvidia drivershortly after install . Installing the debian modual \driver suplied would not work. i have since tried installing GoogleEarth same way i did with Lenny without results. I also used smxi with report it would not build. Anything simple like Users and groups I have yet to configure properly that would cause this? I have yet to make any changes except add 2 users. Any suggestions welcome, Jon This is a fairly new install |
What are you trying to install?.
What is the output of cat /etc/apt/sources.list?. Are you using 64bit Debian?. Quote:
|
I am running Squeeze i386 on a 2.4 ghz intel chip on an Asus desktop type main board, nothing odd.
I tried installing GoogleEarth. both from the .bin file downloaded from there site as I have done in Lenny. I was unsusessfull and then tried smxi. smixi reported that it failed to build. It also reported google earth was only working on sid at this time. I may not be entirely accurate in the text but this is what I understood. My largest concern at this time is that something is messed up as synaptic, software sources and Software center will not let me even get to the window to enable or disable repositories. All 3 programs obviously use the same reasource that is disfuntioning. I have "#" out all items in /etc/apt/sources.list that smxi put in plus the install DVD and only left the 2 original repositories the OS instal put in. The message I get whan I run Synaptic as follows. Opened synaptic, went to "settings" then "repositories" and this is where it would normaly show all avalable sources in /etc/apt/sources.list but instead it reports "repositories have changed and I must reload". So I reload and I get the following. Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) At times I get good information in the terminal whan I run a utility from it, here is what I get when I start synaptic, go to settings, repositories. Code:
jon@DebSid:~$ su-to-root -X -c /usr/sbin/synaptic The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) Going forward, When I was in smxi I snooped around to see what was there. All sorts of things. Best I recall I paged through various menus and 1 was kennel upgrade. I did not think I allowed it to do it as I backed out. Aparently some stuff was written as I have Liquorix in my repository, (I "#" it out). Here is sources.list Code:
jon@DebSid:~$ cat /etc/apt/sources.list I followed the path that the error in synaptic showed "/var/lib/apt/lists/lock ". when I got there to lists, I see3 file relitive to Liquorix. I had to have unknowinly allowed this to happen in smixi, as I only assume liquorix is a kernel upgrade. If this is my problem can I use smxi to downgrade back to original Squeeze default or is it a 1 way road? I figure I deserve a speeding ticket about now. Jon |
Backup your existing /etc/apt/sources.list
and edit it like this: Code:
########################### If that works do the upgrade. Then add further lines you think you need. If it doesn't work post the error-messages. (or, for what its worth, try it even without the security line). I don't think the liquorix-kernel is the problem, but of course you can remove it again. Check if you got entries at /etc/apt/source.list.d/ Figure out what you got installed related to: python-software-properties and remove it (as the quick and dirty solution) or search for bug-reports and if similar problems and -perhaps- a solution is already posted. http://www.debian.org/Bugs/ Same for synaptic and other package tools. |
Put # in front of cdrom: source.
Code:
apt-get clean && apt-get update |
As j1alu has pointed out your sources.list needs fixing,follow his/her suggestions here.
|
editited out everything in sources.list except the 2 lines as suggested by j1alu although I have done exactly just this yesterday
My directory /etc/apt/sources.list.d/ is completly empty Results as follows fro apt-get uprade root@DebSid:/home/jon# apt-get update E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ root@DebSid:/home/jon# This is in reference to the following suggestion: Figure out what you got installed related to: python-software-properties and remove it (as the quick and dirty solution) or search for bug-reports and if similar problems and -perhaps- a solution is already posted. I have following installed related to python-software-properties. (aptdaemon, gnome, python-aptdaemon,python-aptdaemon-gtk, software-center and software-properties-gtk) non of which I have selectively installed. I have not tried uninstalling any of these items as of yet as i am unsure of the consequence of each item. Thanks for all so far, Jon |
Seen this before,see the link here:
http://www.linuxquestions.org/questi...ilable-360554/ Specifically post #11 Also here: http://www.techdrivein.com/2010/01/h...k-open-11.html |
removing /var/lib/dpkg/lock and running dpkg -configure -a fixed problem. So simple to fix, just why or how did it become a problem. I notice that it is now regenerated and it has no bytes info in it.m Thanks for the help again, Jon
|
All times are GMT -5. The time now is 11:46 PM. |