LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 10-24-2011, 01:40 PM   #1
DrArroganto
LQ Newbie
 
Registered: Oct 2011
Posts: 10

Rep: Reputation: Disabled
Unhappy Unable to open Synaptic package manager / Ubuntu software center.


When I open Synaptic package manager it gives this error:

E: Malformed line 59 in source list /etc/apt/sources.list (http://packages.dfreer.org is not an assignment)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

This hasn't worked since yesterday (After upgrading ubuntu)
And I have a red square with a white line on the middle.. Which say "A problem occurred when checking for the updates.", when I press it.

@Sources.list it says:

# deb cdrom:[Xubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427)]/ natty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu oneiric main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu oneiric-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu oneiric universe
deb-src http://archive.ubuntu.com/ubuntu oneiric universe
deb http://archive.ubuntu.com/ubuntu oneiric-updates universe
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu oneiric multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric multiverse
deb http://archive.ubuntu.com/ubuntu oneiric-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fi.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric-security main restricted
deb http://archive.ubuntu.com/ubuntu oneiric-security universe
deb-src http://archive.ubuntu.com/ubuntu oneiric-security universe
deb http://archive.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://packages.dfreer.org gutsy main
deb http://packages.dfreer.org gutsy main
deb http://packages.dfreer.org feisty main
 
Old 10-24-2011, 03:09 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
The last three lines in your sources.list are for very old versions of Ubuntu and as it seems to me the server for those repositories is unreachable/down. Delete those lines (or comment them out) and try it again.
 
Old 10-24-2011, 03:13 PM   #3
RHTopics
Member
 
Registered: May 2006
Posts: 35

Rep: Reputation: 3
The last three lines of your /etc/apt/sources.list should be removed or commented out. They are set up for old, no longer supported versions of Ubuntu.

The way I would do it is as follows:

From a terminal window enter the commands:
Code:
sudo cp -pv /etc/apt/sources.list /etc/apt/sources.list_backup20111024

gksu gedit /etc/apt/sources.list
Now you will be in gedit with root privileges to edit the file. Remove the last three lines of the file. Save the file and then exit gedit. If you make a mistake, use the backup file to restore it.

After saving the file /etc/apt/sources.list and still in the terminal window, enter the following command while connected to the Internet to refresh the repositories:

Code:
sudo apt-get update
You should now be able to use Synaptic package manager.
 
Old 10-24-2011, 03:29 PM   #4
DrArroganto
LQ Newbie
 
Registered: Oct 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yes, thank you. Working now
 
  


Reply


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
[SOLVED] Synaptic package manager won't open due to faulty package nine9nine Linux - Software 7 09-15-2011 08:30 PM
Synaptic package manager VRS Ubuntu Softare Center RiverGuy Linux - Newbie 6 02-22-2011 03:24 AM
Unable to Install any application using synaptic package manager. yasaswisrikanth Linux - Software 2 12-09-2010 04:08 AM
Unable to Install any application using synaptic package manager. yasaswisrikanth Linux Mint 1 12-08-2010 08:43 PM
ati graphics control center install from synaptic package manager Rich1540 Linux - Newbie 9 08-21-2009 01:29 AM


All times are GMT -5. The time now is 10:14 PM.

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