red circle error can not open synaptic or software center

Asked by lisa

hi followed a link and these sets of questions, few typos but corrected them. please help!

lisa@lisa:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 108, in <module>
    cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: W:Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:Could not open file /var/lib/dpkg/status - open (2: No such file or directory), E:The package lists or status file could not be parsed or opened.
lisa@lisa:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for lisa:
lisa@lisa:~$ grep proxy /etc/enviroment
grep: /etc/enviroment: No such file or directory
lisa@lisa:~$ grep proxy /etc/environment
lisa@lisa:~$ echo $http_proxy

lisa@lisa:~$ echo $ftp_proxy

lisa@lisa:~$ grep proxy /etc/bash.bashrc
lisa@lisa:~$ grep proxy ~/.bashrc
lisa@lisa:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
lisa@lisa:~$ sudo fuser -vvv /var/cache/apt/archives/lock
lisa@lisa:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
lisa@lisa:~$ uname -a
Linux lisa 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013 i686 i686 i386 GNU/Linux
lisa@lisa:~$ sudo rm /var/lib/apt/lists/lock
lisa@lisa:~$ sudo rm /var/cache/apt/archives/lock
lisa@lisa:~$ sudo rm /var/lib/dpkg/lock
lisa@lisa:~$ sudo cp -arf /vaar/lib/dpkg /var/lib/dpkg.backup
cp: cannot stat `/vaar/lib/dpkg': No such file or directory
lisa@lisa:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
lisa@lisa:~$ sudo mv /var/lib/dpkg/avaliable /var/lib/dpkg/avaliable-bad
mv: cannot stat `/var/lib/dpkg/avaliable': No such file or directory
lisa@lisa:~$ sudo mv /var/lib/dpkg/available /varlib/dpkg/available-bad
mv: cannot move `/var/lib/dpkg/available' to `/varlib/dpkg/available-bad': No such file or directory
lisa@lisa:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
lisa@lisa:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
lisa@lisa:~$ sudo rm -rf /var/lib/dpkg/updates/*
lisa@lisa:~$ sudo rm -rf /var/lib/apt/lists
lisa@lisa:~$ sudo rm -rf /var/cache/apt/*.bin
lisa@lisa:~$ sudo mkdir /var/lib/apt/lists
lisa@lisa:~$ sudo mkdir /var/lib/apt/lists/partial
lisa@lisa:~$ LANG=C;sudo apt-get clean
lisa@lisa:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.
lisa@lisa:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
lisa@lisa:~$ sudo dpkg --clear-avail
lisa@lisa:~$ LANG=C;sudo apt-get -f
apt 0.8.16~exp12ubuntu10.16 for i386 compiled on Nov 15 2013 15:33:45
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
   update - Retrieve new lists of packages
   upgrade - Perform an upgrade
   install - Install new packages (pkg is libc6 not libc6.deb)
   remove - Remove packages
   autoremove - Remove automatically all unused packages
   purge - Remove packages and config files
   source - Download source archives
   build-dep - Configure build-dependencies for source packages
   dist-upgrade - Distribution upgrade, see apt-get(8)
   dselect-upgrade - Follow dselect selections
   clean - Erase downloaded archive files
   autoclean - Erase old downloaded archive files
   check - Verify that there are no broken dependencies
   changelog - Download and display the changelog for the given package
   download - Download the binary package into the current directory

Options:
  -h This help text.
  -q Loggable output - no progress indicator
  -qq No output except for errors
  -d Download only - do NOT install or unpack archives
  -s No-act. Perform ordering simulation
  -y Assume Yes to all queries and do not prompt
  -f Attempt to correct a system with broken dependencies in place
  -m Attempt to continue if archives are unlocatable
  -u Show a list of upgraded packages as well
  -b Build the source package after fetching it
  -V Show verbose version numbers
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
                       This APT has Super Cow Powers.
lisa@lisa:~$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
lisa
Solved:
Last query:
Last reply:

This question was reopened

  • by lisa
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Step 5 in the following procedure clearly states that you need to copy-paste, not type in the commands manually:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Please try copy-pasting the commands one by one instead of trying to type them.

This will prevent typing mistakes and help avoid getting the errors seen in the Terminal output above.

I am pretty sure that the following commands were mistyped (not copy-pasted) and not properly executed:

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

You also need to run this command (copy-paste the command, do not type it in):

sudo rm /etc/apt/sources.list.d/playon*

Revision history for this message
lisa (lisakirby) said :
#3

ok ill will do that and re-post results....

Revision history for this message
lisa (lisakirby) said :
#4

heres the output......

lisa@lisa:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 108, in <module>
    cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: W:Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:Could not open file /var/lib/dpkg/status - open (2: No such file or directory), E:The package lists or status file could not be parsed or opened.
lisa@lisa:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for lisa:
lisa@lisa:~$ grep proxy /etc/environment
lisa@lisa:~$ echo $http_proxy

lisa@lisa:~$ echo $ftp_proxy

lisa@lisa:~$ grep proxy /etc/bash.bashrc
lisa@lisa:~$ grep proxy ~/.bashrc
lisa@lisa:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
lisa@lisa:~$ sudo fuser -vvv /var/lib/dpkg/lock
lisa@lisa:~$ sudo fuser -vvv /var/cache/apt/archives/lock
lisa@lisa:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
lisa@lisa:~$ uname -a
Linux lisa 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013 i686 i686 i386 GNU/Linux
lisa@lisa:~$ sudo rm /var/lib/apt/lists/lock
lisa@lisa:~$ sudo rm /var/cache/apt/archives/lock
lisa@lisa:~$ sudo rm /var/lib/dpkg/lock
lisa@lisa:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
lisa@lisa:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat `/var/lib/dpkg/status': No such file or directory
lisa@lisa:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
lisa@lisa:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
lisa@lisa:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
lisa@lisa:~$ sudo rm -rf /var/lib/dpkg/updates/*
lisa@lisa:~$ sudo rm -rf /var/lib/apt/lists
lisa@lisa:~$ sudo rm /var/cache/apt/*.bin
lisa@lisa:~$ sudo mkdir /var/lib/apt/lists
lisa@lisa:~$ sudo mkdir /var/lib/apt/lists/partial
lisa@lisa:~$ LANG=C;sudo apt-get clean
lisa@lisa:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.
lisa@lisa:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.
lisa@lisa:~$ sudo dpkg --configure -a
lisa@lisa:~$ sudo dpkg --clear-avail
lisa@lisa:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
lisa@lisa:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/sources.list.d/playoonlinux.list
E: The list of sources could not be read.
lisa@lisa:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/libreoffice-libreoffice-4-1-lucid.list

     1 # deb http://ppa.launchpad.net/libreoffice/libreoffice-4-1/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/some-ppa.list

/etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list

     1 # deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main

/etc/apt/sources.list.d/libreoffice-libreoffice-prereleases-lucid.list

     1 # deb http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/playoonlinux.list

     1 --2014-01-11 15:33:33-- http://deb.playonlinux.com/playonlinux_precise.list
     2 Resolving deb.playonlinux.com (deb.playonlinux.com)... 37.187.89.171, 2001:41d0:a:31ab::1
     3 Connecting to deb.playonlinux.com (deb.playonlinux.com)|37.187.89.171|:80... connected.
     4 HTTP request sent, awaiting response... 200 OK
     5 Length: 45
     6 Saving to: `playonlinux_precise.list'
     7
     8 0K 100% 1.24M=0s
     9
    10 2014-01-11 15:33:33 (1.24 MB/s) - `playonlinux_precise.list' saved [45/45]
    11

/etc/apt/sources.list.d/libreoffice-libreoffice-4-0-lucid.list

     1 # deb http://ppa.launchpad.net/libreoffice/libreoffice-4-0/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/playonlinux.list

     1 deb http://deb.playonlinux.com/ precise main
     2

/etc/apt/sources.list.d/tualatrix-ppa-lucid.list

     1 deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main #Ubuntu Tweak Stable Source disabled on upgrade to precise

/etc/apt/sources.list.d/someppa-ppa-lucid.list

     1 # deb http://ppa.launchpad.net/someppa/ppa/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/libreoffice-ppa-lucid.list

     1 # deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/ricotz-testing-lucid.list

     1 # deb http://ppa.launchpad.net/ricotz/testing/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/ubuntu-tweak-testing-ppa-lucid.list

     1 # deb http://ppa.launchpad.net/ubuntu-tweak-testing/ppa/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/gnome3-team-gnome3-lucid.list

     1 # deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list

     1 # deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
     2 # deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

/etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list

     1 # deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list.d/user-ppa-name-lucid.list

     1 # deb http://ppa.launchpad.net/user/ppa-name/ubuntu precise main # disabled on upgrade to precise

/etc/apt/sources.list

     1 deb http://archive.ubuntu.com/ubuntu precise main universe multiverse restricted multiverse
     2 deb http://security.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
     3 deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
     4 deb http://archive.ubuntu.com/ubuntu precise-backports universe main multiverse restricted
     5
     6 deb http:// archive.canonical.com/ubuntu precise partner
     7 deb-src http://archive.canonical.com/ubuntu precise partner
     8
     9 deb http://extras.ubuntu.com/ubuntu precise main
    10 deb-src http://extras.ubuntu.com/ubuntu precise main
    11
    12
    13 deb-src http://deb.playonlinux.com/ precise main
lisa@lisa:~$ sudo rm /etc/apt/sources.list.d/playon*

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

There is a lot of junk in the directory /etc/apt/sources.list.d/

Run these commands:

sudo rm /etc/apt/sources.list.d/*

sudo apt-get update

After that, everything should be ok....

Revision history for this message
lisa (lisakirby) said :
#6

lisa@lisa:~$ sudo rm /etc/apt/sources.list.d/*
[sudo] password for lisa:
lisa@lisa:~$ sudo apt-get update
Err http: archive.canonical.com/ubuntu Release.gpg
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Ign http: archive.canonical.com/ubuntu Release
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:2 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:3 http://archive.canonical.com precise Release.gpg [198 B]
Ign http: archive.canonical.com/ubuntu/partner TranslationIndex
Get:4 http://deb.playonlinux.com precise Release.gpg [198 B]
Get:5 http://extras.ubuntu.com precise Release [11.9 kB]
Get:6 http://archive.canonical.com precise Release [7,078 B]
Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
Ign http: archive.canonical.com/ubuntu/precise TranslationIndex
Get:8 http://deb.playonlinux.com precise Release [1,724 B]
Get:9 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:10 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:11 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:12 http://extras.ubuntu.com precise/main Sources [8,130 B]
Get:13 http://archive.ubuntu.com precise Release [49.6 kB]
Err http: archive.canonical.com/ubuntu/precise i386 Packages
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/partner i386 Packages
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Get:14 http://archive.canonical.com precise/partner Sources [4,878 B]
Get:15 http://extras.ubuntu.com precise/main i386 Packages [10.8 kB]
Err http: archive.canonical.com/ubuntu/partner Translation-en_GB
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com precise/main TranslationIndex
Err http: archive.canonical.com/ubuntu/partner Translation-en
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/precise Translation-en_GB
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/precise Translation-en
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Ign http://deb.playonlinux.com precise Release
Get:16 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Err http://deb.playonlinux.com precise/main Sources

Err http://deb.playonlinux.com precise/main Sources

Err http://deb.playonlinux.com precise/main Sources

Err http://deb.playonlinux.com precise/main Sources

Get:17 http://security.ubuntu.com precise-security/universe i386 Packages [94.5 kB]
Get:18 http://archive.ubuntu.com precise-backports Release [49.6 kB]
Err http://deb.playonlinux.com precise/main Sources
  404 Not Found
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Ign http://extras.ubuntu.com precise/main Translation-en
Get:19 http://security.ubuntu.com precise-security/main i386 Packages [377 kB]
Get:20 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:21 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,650 B]
Get:22 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:23 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:24 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:25 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:26 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:27 http://security.ubuntu.com precise-security/main Translation-en [168 kB]
Get:28 http://security.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
Get:29 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:30 http://security.ubuntu.com precise-security/universe Translation-en [56.1 kB]
Get:31 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:32 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:33 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:34 http://archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:35 http://archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:36 http://archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:37 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:38 http://archive.ubuntu.com precise-updates/universe i386 Packages [236 kB]
Get:39 http://archive.ubuntu.com precise-updates/main i386 Packages [769 kB]
Get:40 http://archive.ubuntu.com precise-updates/main i386 Packages [769 kB]
Get:41 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [14.4 kB]
Get:42 http://archive.ubuntu.com precise-updates/restricted i386 Packages [11.5 kB]
Get:43 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:44 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:45 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:46 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:47 http://archive.ubuntu.com precise-backports/universe i386 Packages [37.7 kB]
Get:48 http://archive.ubuntu.com precise-backports/main i386 Packages [4,811 B]
Get:49 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Get:50 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:51 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:52 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:53 http://archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:54 http://archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:55 http://archive.ubuntu.com precise/main Translation-en_GB [96.4 kB]
Get:56 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:57 http://archive.ubuntu.com precise/multiverse Translation-en_GB [79.8 kB]
Get:58 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:59 http://archive.ubuntu.com precise/restricted Translation-en_GB [2,406 B]
Get:60 http://archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:61 http://archive.ubuntu.com precise/universe Translation-en_GB [5,492 B]
Get:62 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:63 http://archive.ubuntu.com precise-updates/main Translation-en_GB [96.4 kB]
Get:64 http://archive.ubuntu.com precise-updates/main Translation-en [334 kB]
Get:65 http://archive.ubuntu.com precise-updates/multiverse Translation-en_GB [79.8 kB]
Get:66 http://archive.ubuntu.com precise-updates/multiverse Translation-en [8,293 B]
Get:67 http://archive.ubuntu.com precise-updates/restricted Translation-en_GB [2,406 B]
Get:68 http://archive.ubuntu.com precise-updates/restricted Translation-en [2,663 B]
Get:69 http://archive.ubuntu.com precise-updates/universe Translation-en_GB [5,492 B]
Get:70 http://archive.ubuntu.com precise-updates/universe Translation-en [135 kB]
Get:71 http://archive.ubuntu.com precise-backports/main Translation-en [4,235 B]
Get:72 http://archive.ubuntu.com precise-backports/multiverse Translation-en [4,610 B]
Get:73 http://archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:74 http://archive.ubuntu.com precise-backports/universe Translation-en [27.7 kB]
Fetched 13.2 MB in 1min 17s (171 kB/s)
W: GPG error: http://deb.playonlinux.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E0F72778C4676186
W: Failed to fetch http://dists/archive.canonical.com/ubuntu/Release.gpg Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/binary-i386/Packages Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/binary-i386/Packages Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/i18n/Translation-en_GB Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/i18n/Translation-en Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/i18n/Translation-en_GB Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/i18n/Translation-en Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://deb.playonlinux.com/dists/precise/main/source/Sources 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

error is still at top of the page...

Revision history for this message
lisa (lisakirby) said :
#7

im able to get into my update manager now, im just doing all updates and hopefully it will go....

Revision history for this message
lisa (lisakirby) said :
#8

you are a DIAMOND thank you soooooooooo much so chuffed!!

Revision history for this message
lisa (lisakirby) said :
#9

although ive been able to update it says failed to download repository information....

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#10

One more thing you need to do.

Run this command:

gksudo gedit /etc/apt/sources.list

Your Terminal output showed us this:

/etc/apt/sources.list

     1 deb http://archive.ubuntu.com/ubuntu precise main universe multiverse restricted multiverse
     2 deb http://security.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
     3 deb http://archive.ubuntu.com/ubuntu precise-updates universe main multiverse restricted
     4 deb http://archive.ubuntu.com/ubuntu precise-backports universe main multiverse restricted
     5
     6 deb http:// archive.canonical.com/ubuntu precise partner
     7 deb-src http://archive.canonical.com/ubuntu precise partner
     8
     9 deb http://extras.ubuntu.com/ubuntu precise main
    10 deb-src http://extras.ubuntu.com/ubuntu precise main
    11
    12
    13 deb-src http://deb.playonlinux.com/ precise main

Remove the space in line 6 in the file /etc/apt/sources.list using the gedit editor .

So replace

 deb http:// archive.canonical.com/ubuntu precise partner

with

 deb http://archive.canonical.com/ubuntu precise partner

There should be NO spaces between deb http:// and archive

Please also delete line 13 (containing deb-src http://deb.playonlinux.com/ precise main) .

Then save these changes to /etc/apt/sources.list using the gedit editor .

Revision history for this message
lisa (lisakirby) said :
#11

ok will do that now will that fix the repository?

Revision history for this message
lisa (lisakirby) said :
#12

lisa@lisa:~$ gksudo gedit /etc/apt/sources.list
lisa@lisa:~$ sudo apt-get update
Err http: archive.canonical.com/ubuntu Release.gpg
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Ign http: archive.canonical.com/ubuntu Release
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Ign http: archive.canonical.com/ubuntu/partner TranslationIndex
Ign http: archive.canonical.com/ubuntu/precise TranslationIndex
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release.gpg
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.ubuntu.com precise-backports Release.gpg
Hit http://extras.ubuntu.com precise/main Sources
Err http: archive.canonical.com/ubuntu/precise i386 Packages
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/partner i386 Packages
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Get:3 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise Release
Get:4 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:5 http://archive.canonical.com precise/partner i386 Packages [8,948 B]
Err http: archive.canonical.com/ubuntu/partner Translation-en_GB
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/partner Translation-en
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/precise Translation-en_GB
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Err http: archive.canonical.com/ubuntu/precise Translation-en
  Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://archive.ubuntu.com precise-backports Release
Ign http://extras.ubuntu.com precise/main Translation-en_GB
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://security.ubuntu.com precise-security/universe i386 Packages [94.5 kB]
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_GB
Get:7 http://archive.ubuntu.com precise-updates/universe i386 Packages [236 kB]
Ign http://archive.canonical.com precise/partner Translation-en
Get:8 http://security.ubuntu.com precise-security/main i386 Packages [377 kB]
Get:9 http://archive.ubuntu.com precise-updates/main i386 Packages [769 kB]
Get:10 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [14.4 kB]
Get:11 http://archive.ubuntu.com precise-updates/restricted i386 Packages [11.5 kB]
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en_GB
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Get:12 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,650 B]
Get:13 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en_GB
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Fetched 1,618 kB in 10s (157 kB/s)
W: Failed to fetch http://dists/archive.canonical.com/ubuntu/Release.gpg Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/binary-i386/Packages Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/binary-i386/Packages Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/i18n/Translation-en_GB Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/partner/i18n/Translation-en Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/i18n/Translation-en_GB Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dists/archive.canonical.com/ubuntu/precise/i18n/Translation-en Something wicked happened resolving 'dists:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
lisa (lisakirby) said :
#13

i seem to still have quite a few errors and failed to fetch

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#14

I suggest deleting everything in your /etc/apt/sources.list file and replacing the contents with these configuration lines:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

Revision history for this message
lisa (lisakirby) said :
#15

ok this is what i get when i get failed to download repoistorys

lisa@lisa:~$ gksudo gedit /etc/apt/sources.list
lisa@lisa:~$ sudo apt-get update
Hit http://archive.canonical.com precise Release.gpg
Hit http://archive.canonical.com precise Release
Hit http://archive.ubuntu.com precise Release.gpg
Get:1 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.canonical.com precise/partner Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://archive.ubuntu.com precise Release
Get:2 http://archive.ubuntu.com precise-security Release [49.6 kB]
Ign http://archive.canonical.com precise/partner Translation-en_GB
Hit http://archive.ubuntu.com precise-updates Release
Ign http://archive.canonical.com precise/partner Translation-en
Get:3 http://archive.ubuntu.com precise/main Sources [934 kB]
Get:4 http://archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:5 http://archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:6 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Get:7 http://archive.ubuntu.com precise-security/main Sources [96.7 kB]
Get:8 http://archive.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:9 http://archive.ubuntu.com precise-security/universe Sources [30.5 kB]
Get:10 http://archive.ubuntu.com precise-security/multiverse Sources [1,797 B]
Get:11 http://archive.ubuntu.com precise-security/main i386 Packages [377 kB]
Get:12 http://archive.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:13 http://archive.ubuntu.com precise-security/universe i386 Packages [94.5 kB]
Get:14 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2,650 B]
Get:15 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:16 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:17 http://archive.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:18 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:19 http://archive.ubuntu.com precise-updates/main Sources [449 kB]
Get:20 http://archive.ubuntu.com precise-updates/restricted Sources [7,039 B]
Get:21 http://archive.ubuntu.com precise-updates/universe Sources [102 kB]
Get:22 http://archive.ubuntu.com precise-updates/multiverse Sources [8,486 B]
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en_GB
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en_GB
Hit http://archive.ubuntu.com precise/universe Translation-en
Get:23 http://archive.ubuntu.com precise-security/main Translation-en [168 kB]
Get:24 http://archive.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
Get:25 http://archive.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:26 http://archive.ubuntu.com precise-security/universe Translation-en [56.1 kB]
Hit http://archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Fetched 7,566 kB in 46s (163 kB/s)
Reading package lists... Done

looks good i dont know why playonlinux was on there i got rid of it. im just going to do update and still see if i get the same failed message

Revision history for this message
lisa (lisakirby) said :
#16

its all working perfectly really cant thank you enough i was nearly close to giving up!