LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-04-2012, 06:02 PM   #1
LaCaradeculito
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Rep: Reputation: Disabled
Unable to get repositories list - Debian


Hi

While updating packages information all added repositories seem to be active but much of it fail to download.

So I'm trying to manage repositories but for some reason I fail to get to the list of them both through synaptic and Terminal. Synaptic seems to try but doesn't open the box after a while, and the last one returns "bash: /etc/apt/sources.list: Permission denied" to "/etc/apt/sources.list" (as root, of course).

So I went to the folder, but there's almost nothing there. Just a .txt that goes:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb http://dl.google.com/linux/chrome/deb/ stable main

Do you think having added wheezy repositories to squeezy could be a cause? I got GIMP and Inkscape new versions from them, but I didn't install anything else.

I appreciate any help.
Best.

(very newbie, BTW)

Last edited by LaCaradeculito; 07-04-2012 at 06:09 PM.
 
Old 07-04-2012, 06:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,346
Blog Entries: 2

Rep: Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978
/etc/apt/sources.list is not an executable file, this is why you get the "Permission denied" error. To look at the contents you can use
Code:
cat /etc/apt/sources.list
Quote:
Having added wheezy repositories to squeezy could be a cause?
The next time you update your system it will automatically upgrade the whole system to Wheezy, regardless which programs you have installed before. In general, mixing Stable and Testing is a very bad idea and is most likely a reason for a system that is not working correctly. For example, Gimp 2.8 needs upgrades in many libraries that are essential for many programs (like glib2). Installing Gimp from an activated Wheezy repository will also pull in those libraries and can break your system.

In short: Never mix repositories (especially not Stable with Testing or Unstable) if you do not exactly know what you are doing and which consequences this may have.
I would recommend to either try to do a full upgrade to Wheezy or to restore a backup from the time before you added the Wheezy repositories.
 
Old 07-04-2012, 07:47 PM   #3
LaCaradeculito
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes, there they were all the repositories that I knew; so I'm trying the first option... upgrading to Wheezy. Hope it helps a normal use of Synaptic.

Thanks very much for your quick response and advice.
 
Old 07-17-2012, 04:21 PM   #4
LaCaradeculito
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
I finally recovered synaptic's functionality after upgrading. So it's solved. Thanks a lot.

M.

Last edited by LaCaradeculito; 07-17-2012 at 04:22 PM.
 
Old 07-17-2012, 06:28 PM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,384

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Thumbs up

Quote:
Originally Posted by LaCaradeculito View Post
I finally recovered synaptic's functionality after upgrading. So it's solved. Thanks a lot.

M.
Nice username!
 
Old 07-17-2012, 06:45 PM   #6
LaCaradeculito
LQ Newbie
 
Registered: Jun 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Even nicer face!
 
  


Reply

Tags
debian repositories, list, repositories


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
IS there a websight that list all packages available from the CentOS repositories? Knightron Red Hat 2 04-25-2012 03:23 PM
Fedora Core 5 Repositories list verlossen Fedora 1 04-27-2006 05:18 AM
Synaptic repositories list refuses to open demosthenes2 Ubuntu 4 12-13-2005 06:59 PM
repositories list problems blastradius Ubuntu 1 10-25-2005 06:33 AM
List of official Debian repositories - where? Sslaxx Debian 7 11-18-2004 03:29 PM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration