i cant seem to install delete programs or upgrade have tried everything

Asked by adelina

i cant seem to install delete programs or upgrade have tried everything and all kinds of codes which makes me think whether i made the problem worse. HELP!!!

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
adelina (adelinanadjasamadi) said :
#1

IM NEW HELPPPPPPPPPPPPPPPPPP!!!! :s

Revision history for this message
michael (yellupcm-gmail) said :
#2

A few more details, like what are you trying to delete? Also, what do you want to upgrade to?
You say you are new, open Terminal with "Ctrl+Alt+T" no quotes. Copy and paste "lsb_release -a" no quotes into Terminal. Copy and paste results back here. Use Just Add a Comment.

Revision history for this message
adelina (adelinanadjasamadi) said :
#3

shakila@Samadi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I wasn't(and still not) able to delete/install or upgrade anything and after using the terminal and copying and pasting a lot of codes from the internet I eventually got this:

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ oneiric/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ oneiric-updates/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric-updates_restricted_binary-i386_Packages), E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.'

Thank you Michael!

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

Please read this:

https://wiki.ubuntu.com/Releases

Ubuntu 11.10 will be end-of-life next month.

So I suggest performing a clean install of Ubuntu 12.04 LTS, which is supported until April 2017.

Revision history for this message
adelina (adelinanadjasamadi) said :
#5

Hello Mark
where do I find/get Ubuntu 12.04 LTS?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

You can upgrade from 11.10 to 12.04 in one move.

Revision history for this message
adelina (adelinanadjasamadi) said :
#7

which is Andrew?

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

Please follow the instructions here:

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

(If there are issues during the execution of the troubleshooting procedure, please post the output in this current thread instead of posting to a new thread...)

and here:

http://www.howtoforge.com/how-to-upgrade-ubuntu-11.10-oneiric-ocelot-to-12.04-lts-precise-pangolin-desktop-and-server

and here:

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

What is the output of :

grep -R restricted /etc/apt/*

Thanks

Revision history for this message
adelina (adelinanadjasamadi) said :
#10

@ Mark thank you I will check it out right now and I will get back to you.
@ Actionparsnip the output of that code is: permission denied

Revision history for this message
adelina (adelinanadjasamadi) said :
#11

@ Mark

This is the terminal output of step 5 from the first link:

shakila@Samadi:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for shakila:
shakila@Samadi:~$ grep proxy /etc/environment
shakila@Samadi:~$ echo $http_proxy

shakila@Samadi:~$ echo $ftp_proxy

shakila@Samadi:~$ grep proxy /etc/bash.bashrc
shakila@Samadi:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
shakila@Samadi:~$ sudo fuser -vvv /var/lib/dpkg/lock
shakila@Samadi:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
shakila@Samadi:~$ uname -a
Linux Samadi 3.0.0-32-generic-pae #50-Ubuntu SMP Thu Feb 28 22:53:48 UTC 2013 i686 i686 i386 GNU/Linux
shakila@Samadi:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
shakila@Samadi:~$ sudo rm /var/lib/dpkg/lock
shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
shakila@Samadi:~$ shakila@Samadi:~$
shakila@Samadi:~$
shakila@Samadi:~$
shakila@Samadi:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
shakila@Samadi:~$ shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
shakila@Samadi:~$: command not found
shakila@Samadi:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mv: cannot stat `/var/lib/dpkg/status': No such file or directory
shakila@Samadi:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
shakila@Samadi:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
shakila@Samadi:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
shakila@Samadi:~$ sudo rm -rf /var/lib/dpkg/updates/*
shakila@Samadi:~$ sudo rm -rf /var/lib/apt/lists
shakila@Samadi:~$ sudo rm /var/cache/apt/*.bin
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists/partial
shakila@Samadi:~$ LANG=C;sudo apt-get clean
shakila@Samadi:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
shakila@Samadi:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libaccess-bridge-java* libaccess-bridge-java-jni*
  linux-headers-3.0.0-15-generic-pae*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 11.5 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 725069 files and directories currently installed.)
Removing libaccess-bridge-java-jni ...
Purging configuration files for libaccess-bridge-java-jni ...
Removing libaccess-bridge-java ...
Removing linux-headers-3.0.0-15-generic-pae ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
shakila@Samadi:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Reading package lists... Done
shakila@Samadi:~$ sudo dpkg --configure -a
shakila@Samadi:~$ sudo dpkg --clear-avail
shakila@Samadi:~$ 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.
shakila@Samadi:~$ 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.
shakila@Samadi:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

/etc/apt/sources.list.d/relan-exfat-oneiric.list

     1 # deb http://ppa.launchpad.net/relan/exfat/ubuntu oneiric main
     2 # deb-src http://ppa.launchpad.net/relan/exfat/ubuntu oneiric main

/etc/apt/sources.list.d/google-chrome.list

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

/etc/apt/sources.list.d/oneiric-partner.list

     1 # deb http://archive.canonical.com/ubuntu oneiric partner #Added by software-center
shakila@Samadi:~$

This is the terminal output of step 8 from the first link:

shakila@Samadi:~$ sudo dpkg --add-architecture i386
[sudo] password for shakila:
dpkg: error: unknown option --add-architecture

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
shakila@Samadi:~$ sudo apt-get update
Reading package lists... Done
shakila@Samadi:~$

This is the terminal output of step 9 of the first link:

shakila@Samadi:~$ sudo apt-get purge software-center
[sudo] password for shakila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  software-center* ubuntu-desktop*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 4,760 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 716944 files and directories currently installed.)
Removing ubuntu-desktop ...
Removing software-center ...
Purging configuration files for software-center ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
shakila@Samadi:~$ rm -rf ~/.cache/software-center
shakila@Samadi:~$ rm -rf ~/.config/software-center
shakila@Samadi:~$ rm -rf ~/.cache/update-manager-core
shakila@Samadi:~$ sudo rm /var/lib/apt-xapian-index/cataloged_times.p
shakila@Samadi:~$ sudo rm /var/lib/apt-xapian-index/values
shakila@Samadi:~$ sudo update-apt-xapian-index --verbose --force
Reading plugin /usr/share/apt-xapian-index/plugins/aliases.py.
Reading aliases from /usr/share/apt-xapian-index/aliases/popular-apps...
Reading plugin /usr/share/apt-xapian-index/plugins/app-install.py.
Reading plugin /usr/share/apt-xapian-index/plugins/apttags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/cataloged_time.py.
Reading plugin /usr/share/apt-xapian-index/plugins/debtags.py.
Reading plugin /usr/share/apt-xapian-index/plugins/descriptions.py.
Reading plugin /usr/share/apt-xapian-index/plugins/relations.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sections.py.
Reading plugin /usr/share/apt-xapian-index/plugins/sizes.py.
Reading plugin /usr/share/apt-xapian-index/plugins/template.py.
Reading plugin /usr/share/apt-xapian-index/plugins/translated-desc.py.
Most recent dataset: Thu Mar 28 16:12:09 2013.
Most recent update for: Mon Mar 18 13:29:39 2013.
Aggregating value information.
Initializing plugins.
Reading .desktop files from /usr/share/app-install/desktop/: done.
Rebuilding Xapian index... 0%
flash10.desktop: parsing X-AppInstall-Popcon: invalid literal for int() with base 10: ''
Rebuilding Xapian index... 11%
gnome-font-viewer:gnome-font-viewer.desktop: parsing X-AppInstall-Popcon: invalid literal for int() with base 10: ''
Rebuilding Xapian index... 80%
skype.desktop: parsing X-AppInstall-Popcon: invalid literal for int() with base 10: ''
Rebuilding Xapian index: done.
Installing the new index.
Removing old index /var/cache/apt-xapian-index/index.2.
Writing value information to /var/lib/apt-xapian-index/values.
Writing prefix information to /var/lib/apt-xapian-index/prefixes.
Writing documentation to /var/lib/apt-xapian-index/README.
shakila@Samadi:~$ sudo update-apt-xapian-index --force
The index /var/lib/apt-xapian-index is up to date, but rebuilding anyway as requested.
Reading .desktop files from /usr/share/app-install/desktop/: done.
Rebuilding Xapian index: done.
shakila@Samadi:~$ sudo apt-get update
Reading package lists... Done
shakila@Samadi:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ sudo apt-get install software-center ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'software-center' has no installation candidate
E: Unable to locate package ubuntu-desktop
shakila@Samadi:~$ sudo dpkg-reconfigure software-center --force
Package `software-center' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
shakila@Samadi:~$ sudo update-software-center
sudo: update-software-center: command not found
shakila@Samadi:~$ sudo apt-get install --reinstall software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'software-center' has no installation candidate
shakila@Samadi:~$

I used to have the software center but now I don't because of step 9 from the first link (deleted).
Also I don't get to see this anymore when opening update manager:

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ oneiric/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ oneiric-updates/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric-updates_restricted_binary-i386_Packages), E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.'

But instead it says:

Your system is up-to-date
The package information was just updated
There are no updates to install (when I click 'check')

The Update Manager should show that a new distribution release (12.04 LTS) is available, right?

Revision history for this message
adelina (adelinanadjasamadi) said :
#12

Also tried to re-install the Software Center and got this as output:

shakila@Samadi:~$ sudo apt-get remove software-center
[sudo] password for shakila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'software-center' can't be removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
shakila@Samadi:~$ sudo apt-get autoremove software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'software-center' can't be removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
shakila@Samadi:~$ sudo apt-get update
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net oneiric Release
Hit http://archive.canonical.com oneiric Release
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://dl.google.com stable/main i386 Packages
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
88% [Waiting for headers]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Reading package lists... Done
shakila@Samadi:~$
shakila@Samadi:~$ sudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'software-center' has no installation candidate
shakila@Samadi:~$

Revision history for this message
adelina (adelinanadjasamadi) said :
#13

Or shall I just delete everything and re-install my current (old) software version (with a CD) so that I can be able to install/upgrade to 12.04 LTS?

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

No, a reinstall is not required.

The Terminal output is showing the root cause of all your issues:

$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

/etc/apt/sources.list.d/relan-exfat-oneiric.list

     1 # deb http://ppa.launchpad.net/relan/exfat/ubuntu oneiric main
     2 # deb-src http://ppa.launchpad.net/relan/exfat/ubuntu oneiric main

/etc/apt/sources.list.d/google-chrome.list

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

/etc/apt/sources.list.d/oneiric-partner.list

So apparently your /etc/apt/sources.list file is empty, but it should not be empty.

Please run this command:

gksudo gedit /etc/apt/sources.list

Using the gedit editor, please add the following lines into the /etc/apt/sources.list file and save the change:

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

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

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

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

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main

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

After the /etc/apt/sources.list file has been correctly modified, please run the following commands and software-center should be installed again:

sudo apt-get update

sudo apt-get install software-center

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

Once that is done, I suggest executing this procedure to upgrade to Ubuntu 12.04 as soon as possible:

http://www.howtoforge.com/how-to-upgrade-ubuntu-11.10-oneiric-ocelot-to-12.04-lts-precise-pangolin-desktop-and-server

Revision history for this message
adelina (adelinanadjasamadi) said :
#17

It's installed again! yaay!! Thank you so so SO much!! :) BUT I also read W: You may want to run apt-get update to correct these problems after the first command. Is that ok?

shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
Ign http://dl.google.com stable InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Get:1 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Get:2 http://extras.ubuntu.com oneiric Release [9,759 B]
Hit http://ppa.launchpad.net oneiric Release
Get:3 http://dl.google.com stable Release.gpg [198 B]
Hit http://ppa.launchpad.net oneiric/main Sources
Get:4 http://extras.ubuntu.com oneiric/main Sources [2,472 B]
Ign http://us.archive.ubuntu.com oneiric InRelease
Get:5 http://dl.google.com stable Release [1,347 B]
Get:6 http://archive.canonical.com oneiric/partner Sources [2,661 B]
Hit http://archive.canonical.com oneiric/partner i386 Packages
Get:7 http://extras.ubuntu.com oneiric/main i386 Packages [4,266 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:8 http://dl.google.com stable/main i386 Packages [1,213 B]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://us.archive.ubuntu.com oneiric-security InRelease
Ign http://us.archive.ubuntu.com oneiric-updates InRelease
Get:9 http://us.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:10 http://us.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:11 http://us.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:12 http://us.archive.ubuntu.com oneiric Release [40.8 kB]
Get:13 http://us.archive.ubuntu.com oneiric-security Release [40.8 kB]
Get:14 http://us.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:15 http://us.archive.ubuntu.com oneiric/main Sources [877 kB]
Get:16 http://us.archive.ubuntu.com oneiric/restricted Sources [5,351 B]
Get:17 http://us.archive.ubuntu.com oneiric/universe Sources [4,677 kB]
Get:18 http://us.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:19 http://us.archive.ubuntu.com oneiric/main i386 Packages [1,226 kB]
Get:20 http://us.archive.ubuntu.com oneiric/restricted i386 Packages [8,216 B]
Get:21 http://us.archive.ubuntu.com oneiric/universe i386 Packages [4,468 kB]
Get:22 http://us.archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:23 http://us.archive.ubuntu.com oneiric/main TranslationIndex [3,289 B]
Get:24 http://us.archive.ubuntu.com oneiric/multiverse TranslationIndex [2,265 B]
Get:25 http://us.archive.ubuntu.com oneiric/restricted TranslationIndex [2,263 B]
Get:26 http://us.archive.ubuntu.com oneiric/universe TranslationIndex [2,640 B]
Get:27 http://us.archive.ubuntu.com oneiric-security/main Sources [68.2 kB]
Get:28 http://us.archive.ubuntu.com oneiric-security/restricted Sources [1,964 B]
Get:29 http://us.archive.ubuntu.com oneiric-security/universe Sources [28.7 kB]
Get:30 http://us.archive.ubuntu.com oneiric-security/multiverse Sources [1,676 B]
Get:31 http://us.archive.ubuntu.com oneiric-security/main i386 Packages [247 kB]
Get:32 http://us.archive.ubuntu.com oneiric-security/restricted i386 Packages [4,062 B]
Get:33 http://us.archive.ubuntu.com oneiric-security/universe i386 Packages [70.4 kB]
Get:34 http://us.archive.ubuntu.com oneiric-security/multiverse i386 Packages [3,390 B]
Get:35 http://us.archive.ubuntu.com oneiric-security/main TranslationIndex [74 B]
Get:36 http://us.archive.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:37 http://us.archive.ubuntu.com oneiric-security/restricted TranslationIndex [71 B]
Get:38 http://us.archive.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:39 http://us.archive.ubuntu.com oneiric-updates/main Sources [169 kB]
Get:40 http://us.archive.ubuntu.com oneiric-updates/restricted Sources [3,349 B]
Get:41 http://us.archive.ubuntu.com oneiric-updates/universe Sources [71.3 kB]
Get:42 http://us.archive.ubuntu.com oneiric-updates/multiverse Sources [3,698 B]
Get:43 http://us.archive.ubuntu.com oneiric-updates/main i386 Packages [439 kB]
Get:44 http://us.archive.ubuntu.com oneiric-updates/restricted i386 Packages [6,645 B]
Get:45 http://us.archive.ubuntu.com oneiric-updates/universe i386 Packages [151 kB]
Get:46 http://us.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,376 B]
Get:47 http://us.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:48 http://us.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:49 http://us.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [72 B]
Get:50 http://us.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:51 http://us.archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:52 http://us.archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:53 http://us.archive.ubuntu.com oneiric/restricted Translation-en [2,229 B]
Get:54 http://us.archive.ubuntu.com oneiric/universe Translation-en [3,165 kB]
Get:55 http://us.archive.ubuntu.com oneiric-security/main Translation-en [114 kB]
Get:56 http://us.archive.ubuntu.com oneiric-security/multiverse Translation-en [1,494 B]
Get:57 http://us.archive.ubuntu.com oneiric-security/restricted Translation-en [978 B]
Get:58 http://us.archive.ubuntu.com oneiric-security/universe Translation-en [45.9 kB]
Get:59 http://us.archive.ubuntu.com oneiric-updates/main Translation-en [208 kB]
Get:60 http://us.archive.ubuntu.com oneiric-updates/multiverse Translation-en [3,524 B]
Get:61 http://us.archive.ubuntu.com oneiric-updates/restricted Translation-en [1,547 B]
Get:62 http://us.archive.ubuntu.com oneiric-updates/universe Translation-en [92.0 kB]
Fetched 17.4 MB in 58s (298 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
shakila@Samadi:~$ sudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  software-center
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 697 kB of archives.
After this operation, 4,698 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main software-center all 5.0.6 [697 kB]
Fetched 697 kB in 2s (325 kB/s)
Selecting previously deselected package software-center.
(Reading database ... 716498 files and directories currently installed.)
Unpacking software-center (from .../software-center_5.0.6_all.deb) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Setting up software-center (5.0.6) ...
Updating software catalog...this may take a moment.
Software catalog update was successful.
shakila@Samadi:~$

Can you recommend me how my settings should be on update manager. For instance when I choose download from United States it gives me 27 updates, also
Changes for the versions:
Installed version: 0.8.16~exp5ubuntu13.6
Available version: 0.8.16~exp5ubuntu13.7

Version 0.8.16~exp5ubuntu13.7:

  * SECURITY UPDATE: InRelease verification bypass
    - CVE-2013-1051

  [ David Kalnischk ]
  [ Michael Vogt ]
  * apt-pkg/deb/debmetaindex.cc,
    test/integration/test-bug-595691-empty-and-broken-archive-files,
    test/integration/test-releasefile-verification:
    - disable InRelease downloading until the verification issue is

And if I choose main server it gives me 3 updates plus this
Changes for the versions:
Installed version: 25.0.1364.172-r187217
Available version: 26.0.1410.43-r189671

This update does not come from a source that supports changelogs.

So what is the difference and what is the best option?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

What is the output of:

grep -R partner /etc/apt/*

Thanks

Revision history for this message
adelina (adelinanadjasamadi) said :
#19

@ actionparsnip output: permission denied

Revision history for this message
adelina (adelinanadjasamadi) said :
#20

http://www.howtoforge.com/how-to-upgrade-ubuntu-11.10-oneiric-ocelot-to-12.04-lts-precise-pangolin-desktop-and-server

I tried to use this link but my update manager doesn't show this upgrade version. And it's April, it is already end of life.

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

Try running the package manager troubleshooting procedure again. https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

If during one of the steps you see strange output like
"Version 0.8.16~exp5ubuntu13.7:
  * SECURITY UPDATE: InRelease verification bypass
    - CVE-2013-1051
  [ David Kalnischk ]"
just hit the "q" key, and the process should continue.

Please copy/paste all output into this question document as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#22

@ Manfred Hample Thank you for your reaction.
I was almost finished with the running commands but then my pc stopped reacting, so I did it all over again and this is what I got as output:

erse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
shakila@Samadi:~$ sudo dpkg --configure -a
shakila@Samadi:~$ sudo dpkg --clear-avail
shakila@Samadi:~$ 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.
shakila@Samadi:~$ 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.
shakila@Samadi:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://extras.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com oneiric Release
Ign http://dl.google.com stable Release
Ign http://ppa.launchpad.net oneiric Release
Ign http://archive.canonical.com oneiric Release
Err http://archive.ubuntu.com oneiric-security Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric/main Sources

Err http://archive.ubuntu.com oneiric-updates Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.ubuntu.com oneiric Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://archive.ubuntu.com oneiric-security Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-updates Release
Err http://ppa.launchpad.net oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Err http://archive.canonical.com oneiric/partner i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Err http://extras.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Err http://archive.canonical.com oneiric/partner Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Err http://archive.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
shakila@Samadi:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 #############################################################
     2 ################### OFFICIAL UBUNTU REPOS ###################
     3 #############################################################
     4
     5 ###### Ubuntu Main Repos
     6 deb http://archive.ubuntu.com/ubuntu oneiric main restricted universe multiverse
     7 deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted universe multiverse
     8
     9 ###### Ubuntu Update Repos
    10 deb http://archive.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
    11 deb http://archive.ubuntu.com/ubuntu oneiric-updates main restricted universe multiverse
    12 deb-src http://archive.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
    13 deb-src http://archive.ubuntu.com/ubuntu oneiric-updates main restricted universe multiverse
    14
    15 ###### Ubuntu Partner Repo
    16 deb http://archive.canonical.com/ubuntu oneiric partner
    17 deb-src http://archive.canonical.com/ubuntu oneiric partner
    18
    19 ###### Ubuntu Extras Repo
    20 deb http://extras.ubuntu.com/ubuntu oneiric main
    21 deb-src http://extras.ubuntu.com/ubuntu oneiric main

/etc/apt/sources.list.d/relan-exfat-oneiric.list

     1 deb-src http://ppa.launchpad.net/relan/exfat/ubuntu oneiric main

/etc/apt/sources.list.d/google-chrome.list

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

/etc/apt/sources.list.d/oneiric-partner.list

     1 deb http://archive.canonical.com/ubuntu oneiric partner #Added by software-center
shakila@Samadi:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#23

Try:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
sudo apt-get update

Revision history for this message
adelina (adelinanadjasamadi) said :
#24

@ actionparsnip
 nothing happened.

Revision history for this message
adelina (adelinanadjasamadi) said :
#25

I don't know who closes my question just like that unsolved. Stop doing that, I still need solution and help. Thank you.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#26

Nothing will be output. Do updates run ok now?

Dont confuse 'answered' which is when someone replies and is setable by anyone, and 'solved' which is when this ends and is ONLY setable by YOU. Calm down.

Revision history for this message
adelina (adelinanadjasamadi) said :
#27

@ actionparsnip

oopsss sowwy! :)

I don't know what works or not. I give up. I'll run a version which is end of life as I've been told, so be it. :(
What's the worse thing that can happen?

Revision history for this message
Manfred Hampl (m-hampl) said :
#28

I think it is too early to give up. It seems that there was some kind of network problem on your system, and maybe that was just temporary. By the way, the EOL date for oneiric has been set to May 9, 2013. So there is still some time left. And there is the possibility to upgrade your system even after that date.

Please try the following:
Make sure that you are connected to the network and that internet browsing is working.
Open a terminal and issue these commands:

sudo rm /etc/apt/sources.list.d/oneiric-partner.list
sudo apt-get update
sudo apt-get upgrade

and copy/paste all output into this question document as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#29

Hi Manfred, thanks for your support.

My internet is working well though, I do have recently received the following error message when I try to check for updates:
Failed to download repository information Check your Internet connection.

Output:

bash: username: No such file or directory
bash: username: No such file or directory
shakila@Samadi:~$ sudo rm /etc/apt/sources.list.d/oneiric-partner.list
[sudo] password for shakila:
shakila@Samadi:~$ sudo apt-get update
Err http://archive.canonical.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com oneiric Release
Err http://extras.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com oneiric Release
Ign http://dl.google.com stable Release
Ign http://ppa.launchpad.net oneiric Release
Err http://archive.ubuntu.com oneiric-security Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Err http://archive.ubuntu.com oneiric-updates Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric Release
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-security Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-updates Release
Err http://ppa.launchpad.net oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Err http://archive.canonical.com oneiric/partner i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Err http://dl.google.com stable/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Err http://dl.google.com stable/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Err http://extras.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric-security/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Err http://archive.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

Also whenever (since a few days) opening terminal I get to see two times:
bash: username: No such file or directory

Thanks

Revision history for this message
adelina (adelinanadjasamadi) said :
#30

Also my laptop seems to have stopped recognizing my battery and now it only works when plugged into the mains. When I click the battery indicator it reads "battery (not present)" but the battery is definitely there.

Any clues?

Revision history for this message
adelina (adelinanadjasamadi) said :
#31

anyone? :-/

Revision history for this message
Manfred Hampl (m-hampl) said :
#32

The problems with updating are most probably caused by a wrong proxy definition for the package management system.

Please open a terminal and issue these commands:

grep proxy /etc/environment
echo $http_proxy
echo $ftp_proxy
grep proxy /etc/bash.bashrc
cat /etc/apt/apt.conf

and then copy/paste all output into this question document as done before.

What is the proxy definition for your internet browser?

Revision history for this message
Manfred Hampl (m-hampl) said :
#33

And for the error with "bash: username: No such file or directory" please open a terminal and issue these commands:

cat -n ~/.profile
cat -n /etc/profile
cat -n ~/.bashrc
cat -n ~/.bash_profile
cat -n /etc/bash.bashrc

and then again copy/paste all output into this question command that we can check where the error is located.

Revision history for this message
adelina (adelinanadjasamadi) said :
#34

Thanks for your response Manfred. I am sorry, what exactly do you mean by proxy definition for my internet browser?
First output:

bash: username: No such file or directory
bash: username: No such file or directory
bash: username: No such file or directory
shakila@Samadi:~$ grep proxy /etc/environment
http_proxy=http://<username>:<password>@<proxy>:<port>/
https_proxy=https://<username>:<password>@<proxy>:<port>/
ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ echo $http_proxy
http://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ echo $ftp_proxy
ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ grep proxy /etc/bash.bashrc
export http_proxy=http://<username>:<password>@<proxy>:<port>/
export https_proxy=https://<username>:<password>@<proxy>:<port>/
export ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
shakila@Samadi:~$

Second output:

bash: username: No such file or directory
bash: username: No such file or directory
bash: username: No such file or directory
shakila@Samadi:~$ cat -n ~/.profile
     1 # ~/.profile: executed by the command interpreter for login shells.
     2 # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
     3 # exists.
     4 # see /usr/share/doc/bash/examples/startup-files for examples.
     5 # the files are located in the bash-doc package.
     6
     7 # the default umask is set in /etc/profile; for setting the umask
     8 # for ssh logins, install and configure the libpam-umask package.
     9 #umask 022
    10
    11 # if running bash
    12 if [ -n "$BASH_VERSION" ]; then
    13 # include .bashrc if it exists
    14 if [ -f "$HOME/.bashrc" ]; then
    15 . "$HOME/.bashrc"
    16 fi
    17 fi
    18
    19 # set PATH so it includes user's private bin if it exists
    20 if [ -d "$HOME/bin" ] ; then
    21 PATH="$HOME/bin:$PATH"
    22 fi
shakila@Samadi:~$ cat -n /etc/profile
     1 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
     2 # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
     3
     4 if [ -d /etc/profile.d ]; then
     5 for i in /etc/profile.d/*.sh; do
     6 if [ -r $i ]; then
     7 . $i
     8 fi
     9 done
    10 unset i
    11 fi
    12
    13 if [ "$PS1" ]; then
    14 if [ "$BASH" ]; then
    15 # The file bash.bashrc already sets the default PS1.
    16 # PS1='\h:\w\$ '
    17 if [ -f /etc/bash.bashrc ]; then
    18 . /etc/bash.bashrc
    19 fi
    20 else
    21 if [ "`id -u`" -eq 0 ]; then
    22 PS1='# '
    23 else
    24 PS1='$ '
    25 fi
    26 fi
    27 fi
shakila@Samadi:~$ cat -n ~/.bashrc
     1 # ~/.bashrc: executed by bash(1) for non-login shells.
     2 # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
     3 # for examples
     4
     5 # If not running interactively, don't do anything
     6 [ -z "$PS1" ] && return
     7
     8 # don't put duplicate lines in the history. See bash(1) for more options
     9 # ... or force ignoredups and ignorespace
    10 HISTCONTROL=ignoredups:ignorespace
    11
    12 # append to the history file, don't overwrite it
    13 shopt -s histappend
    14
    15 # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
    16 HISTSIZE=1000
    17 HISTFILESIZE=2000
    18
    19 # check the window size after each command and, if necessary,
    20 # update the values of LINES and COLUMNS.
    21 shopt -s checkwinsize
    22
    23 # make less more friendly for non-text input files, see lesspipe(1)
    24 [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
    25
    26 # set variable identifying the chroot you work in (used in the prompt below)
    27 if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    28 debian_chroot=$(cat /etc/debian_chroot)
    29 fi
    30
    31 # set a fancy prompt (non-color, unless we know we "want" color)
    32 case "$TERM" in
    33 xterm-color) color_prompt=yes;;
    34 esac
    35
    36 # uncomment for a colored prompt, if the terminal has the capability; turned
    37 # off by default to not distract the user: the focus in a terminal window
    38 # should be on the output of commands, not on the prompt
    39 #force_color_prompt=yes
    40
    41 if [ -n "$force_color_prompt" ]; then
    42 if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    43 # We have color support; assume it's compliant with Ecma-48
    44 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    45 # a case would tend to support setf rather than setaf.)
    46 color_prompt=yes
    47 else
    48 color_prompt=
    49 fi
    50 fi
    51
    52 if [ "$color_prompt" = yes ]; then
    53 PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
    54 else
    55 PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
    56 fi
    57 unset color_prompt force_color_prompt
    58
    59 # If this is an xterm set the title to user@host:dir
    60 case "$TERM" in
    61 xterm*|rxvt*)
    62 PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    63 ;;
    64 *)
    65 ;;
    66 esac
    67
    68 # enable color support of ls and also add handy aliases
    69 if [ -x /usr/bin/dircolors ]; then
    70 test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    71 alias ls='ls --color=auto'
    72 #alias dir='dir --color=auto'
    73 #alias vdir='vdir --color=auto'
    74
    75 alias grep='grep --color=auto'
    76 alias fgrep='fgrep --color=auto'
    77 alias egrep='egrep --color=auto'
    78 fi
    79
    80 # some more ls aliases
    81 alias ll='ls -alF'
    82 alias la='ls -A'
    83 alias l='ls -CF'
    84
    85 # Add an "alert" alias for long running commands. Use like so:
    86 # sleep 10; alert
    87 alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
    88
    89 # Alias definitions.
    90 # You may want to put all your additions into a separate file like
    91 # ~/.bash_aliases, instead of adding them here directly.
    92 # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    93
    94 if [ -f ~/.bash_aliases ]; then
    95 . ~/.bash_aliases
    96 fi
    97
    98 # enable programmable completion features (you don't need to enable
    99 # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
   100 # sources /etc/bash.bashrc).
   101 if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
   102 . /etc/bash_completion
   103 fi
shakila@Samadi:~$ cat -n ~/.bash_profile
cat: /home/shakila/.bash_profile: No such file or directory
shakila@Samadi:~$ cat -n /etc/bash.bashrc
     1 # System-wide .bashrc file for interactive bash(1) shells.
     2
     3 # To enable the settings / commands in this file for login shells as well,
     4 # this file has to be sourced in /etc/profile.
     5
     6 # If not running interactively, don't do anything
     7 [ -z "$PS1" ] && return
     8
     9 # check the window size after each command and, if necessary,
    10 # update the values of LINES and COLUMNS.
    11 shopt -s checkwinsize
    12
    13 # set variable identifying the chroot you work in (used in the prompt below)
    14 if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    15 debian_chroot=$(cat /etc/debian_chroot)
    16 fi
    17
    18 # set a fancy prompt (non-color, overwrite the one in /etc/profile)
    19 PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
    20
    21 # Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
    22 # If this is an xterm set the title to user@host:dir
    23 #case "$TERM" in
    24 #xterm*|rxvt*)
    25 # PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
    26 # ;;
    27 #*)
    28 # ;;
    29 #esac
    30
    31 # enable bash completion in interactive shells
    32 #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    33 # . /etc/bash_completion
    34 #fi
    35
    36 # sudo hint
    37 if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then
    38 case " $(groups) " in *\ admin\ *)
    39 if [ -x /usr/bin/sudo ]; then
    40 cat <<-EOF
    41 To run a command as administrator (user "root"), use "sudo <command>".
    42 See "man sudo_root" for details.
    43
    44 EOF
    45 fi
    46 esac
    47 fi
    48
    49 # if the command-not-found package is installed, use it
    50 if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found ]; then
    51 function command_not_found_handle {
    52 # check because c-n-f could've been removed in the meantime
    53 if [ -x /usr/lib/command-not-found ]; then
    54 /usr/bin/python /usr/lib/command-not-found -- "$1"
    55 return $?
    56 elif [ -x /usr/share/command-not-found ]; then
    57 /usr/bin/python /usr/share/command-not-found -- "$1"
    58 return $?
    59 else
    60 return 127
    61 fi
    62 }
    63 fi
    64 export http_proxy=http://<username>:<password>@<proxy>:<port>/
    65
    66 export https_proxy=https://<username>:<password>@<proxy>:<port>/
    67
    68 export ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$

Thank you.

Revision history for this message
adelina (adelinanadjasamadi) said :
#35

Also my laptop used to respond so quick. For instance if I would like to open browser then it would open within a sec, now it takes at least 3-4 seconds. And it never used to stagnate/falter/get stuck/waver or however you may say that for a few seconds sometimes even longer. Something's wrong, maybe there's some virus I don't know what it is. I though Ubuntu/Linux was safe to use. Or maybe I did something wrong accidentally thinking I did good.

Revision history for this message
adelina (adelinanadjasamadi) said :
#36

Either way I'm still a fan!!! :)

Revision history for this message
Manfred Hampl (m-hampl) said :
#37

As far as I can see your errors are caused by meaningless proxy definitions in the configuration files /etc/bash.bashrc and /etc/environment

If you need a proxy server definition to connect to the internet, you have to provide the real data instead of the placeholders <username>, <passsword>, <proxy> and <port>.

Please try finding out if you need a proxy server definition to tonnect to the internet (e.g. by checking your firefox settings).

If you do not need a proxy definition, you have to remove the lines

http_proxy=http://<username>:<password>@<proxy>:<port>/
https_proxy=https://<username>:<password>@<proxy>:<port>/
ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/

from /etc/environment and you have to remove the lines

export http_proxy=http://<username>:<password>@<proxy>:<port>/
export https_proxy=https://<username>:<password>@<proxy>:<port>/
export ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/

from /etc/bash.bashrc

If you, however, need a proxy definition (which I doubt, as there are no traces of a proxy usage on your output from March 28), you have to provide the real values, something like
export http_proxy=http://proxyusername:<email address hidden>:8080/

Revision history for this message
adelina (adelinanadjasamadi) said :
#38

Configure proxies to access the internet, I have:
Use system proxy settings

I can change it into:
No proxy
Auto-detect proxy settings for this network
Manual proxy configuration

I don't know whether I need a proxy definition or not. I don't know that much of computers. Shall I still delete the lines as you have asked me?

Revision history for this message
adelina (adelinanadjasamadi) said :
#39

Also when I put /etc/environment or /etc/bash.bashrc , I get permission denied.

Revision history for this message
Manfred Hampl (m-hampl) said :
#40

It seems that you do not need a specific proxy definition to connect to the internet, so you should remove the meaningless lines from the configuration files.

Open a terminal (e.g. by simultaneously pressing ctr-alt-t) and issue the command
gksudo gedit /etc/environment
This will ask for your password and open an editor with a configuration file loaded. Search for the lines with "<username>:<password>" and put a "#" sign (without the quotes) at the very beginning of these lines. Then save the file and close the editor.
Do the same with the command
gksudo gedit /etc/bash.bashrc
and again put a # at the beginning of each of the lines with "<username>:<password>"

Then you should logout an login again and try opening a terminal (check if there are these strange "bash: username" lines), and finally check for updates again by issuing the commands
sudo apt-get update
sudo apt-get upgrade

If there is any error message please copy/paste its full text into this question document.

Revision history for this message
adelina (adelinanadjasamadi) said :
#41

I am wondering why I have to put the # signs if I have to delete the lines anyway?
I put the signs, do I still need to delete it? Am sorry for the confusion.
The terminal does not show bash username.. anymore. That has been solved.

Revision history for this message
Manfred Hampl (m-hampl) said :
#43

Just as an explanation: In shell scripts everything between a "#" character and the end of the line is interpreted as comment and ignored. So in principle there is no difference if you completely delete a line, or if you put a "#" sign at the beginning of a line. It is just that using the "#" method makes restoring a line easier.

Apparently removin (or commenting out) the proxy lines has stopped the "bash: username" error messages when opening a terminal.

Now the next question is if updating the packages is working well.

Does
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
produce any error messages? If yes, please copy/paste all output. And if everything is smooth, you should be able to use update-manager to upgrade to the Ubuntu 12.04 release (as long as your system meets the minimum requirements for that release).

Revision history for this message
adelina (adelinanadjasamadi) said :
#44

Thank you so much for the information and your help again. I really appreciate it.
Unfortunately there is an error, output is:

  Sometthing wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://dl.google.com stable Release
Err http://ppa.launchpad.net oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com oneiric Release
Err http://archive.ubuntu.com oneiric-updates Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com oneiric Release
Ign http://ppa.launchpad.net oneiric Release
Ign http://archive.ubuntu.com oneiric Release
Ign http://dl.google.com stable/main TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-security Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-updates Release
Err http://ppa.launchpad.net oneiric/main Sources

Err http://ppa.launchpad.net oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Err http://dl.google.com stable/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Err http://dl.google.com stable/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Err http://extras.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric-security/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Err http://extras.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Err http://archive.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#45

Apparently the wrong proxy definition is still in place.
Please reboot your computer, login again, open a terminal and issue these commands:

sudo grep -R proxy /etc/apt/*
echo $http_proxy
echo $ftp_proxy
grep proxy /etc/environment
grep proxy /etc/profile
grep proxy /etc/bash.bashrc
grep proxy ~/.profile
grep proxy ~/.bashrc
grep proxy ~/.bash_profile
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Then copy/paste all output as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#46

With all due respect but I have tried these commands often the last few weeks with the same output. If you scroll up than you will see the same commands and outputs. Or maybe they look the same to me I don't know.
But here you have it again:

  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://dl.google.com stable Release
Ign http://extras.ubuntu.com oneiric Release
Err http://archive.ubuntu.com oneiric Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.canonical.com oneiric Release
Ign http://ppa.launchpad.net oneiric Release
Err http://archive.ubuntu.com oneiric-security Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://dl.google.com stable/main TranslationIndex
Err http://archive.ubuntu.com oneiric-updates Release.gpg
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://archive.ubuntu.com oneiric Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-security Release
Err http://ppa.launchpad.net oneiric/main Sources

Ign http://archive.ubuntu.com oneiric-updates Release
Err http://ppa.launchpad.net oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Err http://dl.google.com stable/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Err http://extras.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Err http://archive.canonical.com oneiric/partner Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Err http://archive.canonical.com oneiric/partner i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.canonical.com oneiric/partner Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com oneiric-security/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Err http://archive.ubuntu.com oneiric/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Sources
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-security/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/main Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/restricted Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com oneiric-updates/universe Translation-en
  Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

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

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

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en_US Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#47

You still have the proxy definitions in /etc/environment and/or $HOME/.bashrc

Once you remove them the connection will succeed.

Revision history for this message
adelina (adelinanadjasamadi) said :
#48

@ actionparsnip thank you for your respond. Can you tell me exactly what to remove and how please?

Revision history for this message
Manfred Hampl (m-hampl) said :
#50

In my previous reply I gave a series of commands that should have provided the information to identify where that proxy definition is located. Unfortunately the output that you provided has been cut off and is missing the key part.

So please try again in a terminal with these commands:

sudo grep -R proxy /etc/apt/*
echo $http_proxy
echo $ftp_proxy
grep proxy /etc/environment
grep proxy /etc/profile
grep proxy /etc/bash.bashrc
grep proxy ~/.profile
grep proxy ~/.bashrc
grep proxy ~/.bash_profile

and copy/paste the output as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#51

Output:

shakila@Samadi:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for shakila:
/etc/apt/apt.conf.d/80proxy:Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
/etc/apt/apt.conf.d/80proxy:Acquire::ftp::proxy "ftp://<username>:<password>@<proxy>:<port>/";
/etc/apt/apt.conf.d/80proxy:Acquire::https::proxy "https://<username>:<password>@<proxy>:<port>/";
/etc/apt/apt.conf.d/80proxy~:Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
/etc/apt/apt.conf.d/80proxy~:Acquire::ftp::proxy "ftp://<username>:<password>@<proxy>:<port>/";
/etc/apt/apt.conf.d/80proxy~:Acquire::https::proxy "https://<username>:<password>@<proxy>:<port>/";
shakila@Samadi:~$ echo $http_proxy

shakila@Samadi:~$ echo $ftp_proxy

shakila@Samadi:~$ grep proxy /etc/environment
#http_proxy=http://<username>:<password>@<proxy>:<port>/
#https_proxy=https://<username>:<password>@<proxy>:<port>/
#ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ grep proxy /etc/profile
shakila@Samadi:~$ grep proxy /etc/bash.bashrc
#export http_proxy=http://<username>:<password>@<proxy>:<port>/
#export https_proxy=https://<username>:<password>@<proxy>:<port>/
#export ftp_proxy=ftp://<username>:<password>@<proxy>:<port>/
shakila@Samadi:~$ grep proxy ~/.profile
shakila@Samadi:~$ grep proxy ~/.bashrc
shakila@Samadi:~$ grep proxy ~/.bash_profile
grep: /home/shakila/.bash_profile: No such file or directory
shakila@Samadi:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#52

gksudo gedit /etc/apt/apt.conf.d/80proxy

comment out the lines with the proxy on as you have the rest of the files.

Why do you have this mess in your configuration anyway?

You do realize that even if you get this working you only have about 2 weeks support left. Why not just do a clean install of Precise and get 5 years support. Lots easier and quicker.

Revision history for this message
adelina (adelinanadjasamadi) said :
#53

@ Andrew
you mean I have to put the # sign in front of every line where says proxy?? What do you mean?
And I don't know why I have this mess in my configuration. I am not familiar with linux/ubuntu, the programming and all kinds of commands etc, though I like the concept.
I think of two things that may caused this mess; 1. a virus 2. I tried to reinstall some version with a cd but my internet connection got lost while doing that and after that my laptop crashed and I wasn't able to turn it on for a while. I thought it was a lost case but I wanted to check out for the very last time before throwing my laptop away, and I succeeded but then it wouldn't accept the cd. After a few times trying it finally recognized it and I began with my installation. But ever since then my laptop wasn't the same anymore.
What about the clean install of Precise? How do I do that? And what's the difference between Precise and version 12.04 LTS?

Revision history for this message
Manfred Hampl (m-hampl) said :
#54

On https://wiki.ubuntu.com/Releases you can see all the existing Ubuntu releases. Each release has got a version number and a code name. And the code name for Ubuntu 12.04 is Precise Pangolin. So Ubuntu 12.04 and Ubuntu Precise are two names for the same - the current long-term-supported release of Ubuntu.

Yes you should comment out (or remove) all proxy-related lines from /etc/apt/apt.conf.d/80proxy
Open a terminal, issue the command "gksudo gedit /etc/apt/apt.conf.d/80proxy", provide your password when asked so, and when the editor opens that file put '#' characters in front of the three lines that deal with proxies, save the file and close the editor. And finally issue the command "sudo apt-get update" again and check if it works again.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#55

try:

mv /etc/apt/apt.conf.d/80proxy ~/80proxy
sudo apt-get update

Is it smooth?

Revision history for this message
adelina (adelinanadjasamadi) said :
#56

@ Manfred thanks for the information.
I am trying to download the 13 updates but it stops every time and says you have no internet connection and that's not the case because I do have internet. And I see an available version: 20.0+build1-0ubuntu0.11.10.3 is that the same as Precise Pangolin?

@ Andrew
It is not smooth, this is the output:
shakila@Samadi:~$ mv /etc/apt/apt.conf.d/80proxy ~/80proxy
mv: cannot move `/etc/apt/apt.conf.d/80proxy' to `/home/shakila/80proxy': Permission denied
shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
shakila@Samadi:~$

Revision history for this message
adelina (adelinanadjasamadi) said :
#57

I tried again and it succeed!! But only the updates not the upgrade to 20.0+build1-0ubuntu0.11.10.3 i think..

Revision history for this message
adelina (adelinanadjasamadi) said :
#58

Also I shut down my laptop and start again and clicked check for more updates/upgrade. There are no updates to install and that it was just installed. How do I see what version I have now? Do you guys happen to know why it doesn't say restart your laptop after updates/upgrades. Usually it says that right after updating/upgrading.

Revision history for this message
adelina (adelinanadjasamadi) said :
#59

shakila@Samadi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
shakila@Samadi:~$

I guess it didn't upgrade.. :-/

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#60

Its not always needed to reboot, this isn't Windows.

Revision history for this message
adelina (adelinanadjasamadi) said :
#61

It used to say this on ubuntu. Anyhow so how come this update manager doesn't show the version of Precise? And your last comment didn't solve my problem so please stop clicking that my question is answered!!!!!!!! Thank you :))

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#62

Yo are using Oneiric, not Precise. There is also one version of Precise, Precise. The question is answered as I replied, it is not however SOLVED, which is when this finishs and is ONLY settable by you as the owner of the question. SO clicking answred is quite alright and will happen a lot.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#63

Run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Kill the process found

Revision history for this message
adelina (adelinanadjasamadi) said :
#64

@ Andrew yes you are right, I am sorry. My English obviously sucks!!! As you can see it didn't find anything but it is interesting to know that at first it asked my password and then I tried again it didn't ask my password.
Output:
shakila@Samadi:~$ sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
[sudo] password for shakila:
shakila@Samadi:~$ sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
shakila@Samadi:~$ sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#65

If you have either followed my instructions (gksudi gedit ...80proxy and comment out the proxy lines) or followed Andrew's advice (the command should have been "mv /etc/apt/apt.conf.d/80proxy ~/80proxy"), the next step should be to check if the update process now runs well.

To check that please make sure that no package management program (software-center, update-manager, synaptic etc. is running), open a terminal and issue the command
sudo apt-get update
and copy/paste all output into this question document as done before.

This will verify if your package management system is in a healthy state again, or should provide some further hits in case that there still is something wrong.

If there are no warning and error messages shown, the next steps should be updating your system with the latest updates for Ubuntu Oneiric, and then performing the release upgrade to Ubuntu Precise.

Revision history for this message
adelina (adelinanadjasamadi) said :
#66

Dear Manfred I think I did this several times and I gave you already the output several times. Scroll up and you will see. Or maybe I'm wrong.
Once again the output:

shakila@Samadi:~$ gksudi gedit ...80proxy and comment out the proxy lines
No command 'gksudi' found, did you mean:
 Command 'gksudo' from package 'gksu' (main)
gksudi: command not found
shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
Hit http://archive.ubuntu.com oneiric Release.gpg
Get:1 http://archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:2 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Hit http://dl.google.com stable Release.gpg
Get:3 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric Release
Hit http://archive.canonical.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://dl.google.com stable Release
Get:4 http://archive.ubuntu.com oneiric-security Release [40.8 kB]
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Get:5 http://archive.ubuntu.com oneiric-updates Release [40.8 kB]
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/universe Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://dl.google.com stable/main TranslationIndex
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Get:6 http://archive.ubuntu.com oneiric-security/main Sources [69.1 kB]
Get:7 http://archive.ubuntu.com oneiric-security/restricted Sources [1,964 B]
Get:8 http://archive.ubuntu.com oneiric-security/universe Sources [29.4 kB]
Get:9 http://archive.ubuntu.com oneiric-security/multiverse Sources [1,677 B]
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
Get:10 http://archive.ubuntu.com oneiric-security/main i386 Packages [248 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Get:11 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [4,062 B]
Get:12 http://archive.ubuntu.com oneiric-security/universe i386 Packages [71.4 kB]
Get:13 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [3,386 B]
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Get:14 http://archive.ubuntu.com oneiric-updates/main Sources [170 kB]
Ign http://dl.google.com stable/main Translation-en
Get:15 http://archive.ubuntu.com oneiric-updates/restricted Sources [3,349 B]
Get:16 http://archive.ubuntu.com oneiric-updates/universe Sources [72.0 kB]
Get:17 http://archive.ubuntu.com oneiric-updates/multiverse Sources [3,700 B]
Get:18 http://archive.ubuntu.com oneiric-updates/main i386 Packages [440 kB]
Get:19 http://archive.ubuntu.com oneiric-updates/restricted i386 Packages [6,645 B]
Get:20 http://archive.ubuntu.com oneiric-updates/universe i386 Packages [152 kB]
Get:21 http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,363 B]
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Fetched 1,365 kB in 1s (697 kB/s)
Reading package lists... Done
shakila@Samadi:~$ mv /etc/apt/apt.conf.d/80proxy ~/80proxy
mv: cannot move `/etc/apt/apt.conf.d/80proxy' to `/home/shakila/80proxy': Permission denied
shakila@Samadi:~$

Revision history for this message
adelina (adelinanadjasamadi) said :
#67

There is no solution I think. Actually there is but you guys may not be familiar with the problem so therefor no solution. Like I said before I'm gonna delete everything and re install my current version and from there i'll see what to do next. Because with all due respect 3 weeks and dozens of commands further, I'm still where I was at the beginning.

Revision history for this message
Manfred Hampl (m-hampl) said :
#68

If you compare this last output to the output from previous attempts you will see a difference.
Previously the command gave error messages like "W: Failed to fetch ... Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)".
Now there are information messages that confirm the operation.

So there is progress!

Now please try the following command in a terminal

sudo apt-get upgrade

and copy/paste all output as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#69

shakila@Samadi:~$ sudo apt-get upgrade
[sudo] password for shakila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libcurl3 libcurl3-gnutls
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 235 kB/461 kB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric-security/main libcurl3 i386 7.21.6-3ubuntu3.3 [235 kB]
Fetched 235 kB in 0s (382 kB/s)
(Reading database ... 716933 files and directories currently installed.)
Preparing to replace libcurl3 7.21.6-3ubuntu3.2 (using .../libcurl3_7.21.6-3ubuntu3.3_i386.deb) ...
Unpacking replacement libcurl3 ...
Preparing to replace libcurl3-gnutls 7.21.6-3ubuntu3.2 (using .../libcurl3-gnutls_7.21.6-3ubuntu3.3_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Setting up libcurl3 (7.21.6-3ubuntu3.3) ...
Setting up libcurl3-gnutls (7.21.6-3ubuntu3.3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
shakila@Samadi:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#70

All done, packages are installing and downloading as expected.

Revision history for this message
adelina (adelinanadjasamadi) said :
#71

It's not Precise..

Revision history for this message
Manfred Hampl (m-hampl) said :
#72

Now open update-manager, there you should see the information "an upgrade to a new release is available" with a button to press for initiating the update.

If that is not the case, please tell us, and then we can tell you an alternative for upgrading from a command terminal.

Revision history for this message
adelina (adelinanadjasamadi) said :
#73

The output of my previous comment:

shakila@Samadi:~$ sudo apt-get upgrade
[sudo] password for shakila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libcurl3 libcurl3-gnutls
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 235 kB/461 kB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric-security/main libcurl3 i386 7.21.6-3ubuntu3.3 [235 kB]
Fetched 235 kB in 0s (382 kB/s)
(Reading database ... 716933 files and directories currently installed.)
Preparing to replace libcurl3 7.21.6-3ubuntu3.2 (using .../libcurl3_7.21.6-3ubuntu3.3_i386.deb) ...
Unpacking replacement libcurl3 ...
Preparing to replace libcurl3-gnutls 7.21.6-3ubuntu3.2 (using .../libcurl3-gnutls_7.21.6-3ubuntu3.3_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Setting up libcurl3 (7.21.6-3ubuntu3.3) ...
Setting up libcurl3-gnutls (7.21.6-3ubuntu3.3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
shakila@Samadi:~$

As you can see the last sentence is:
Idconfiq deferred processing now taking place
If this command would have succeed you have have seen succeed or done or whatsoever it stopped there.
It is not working at all, there are no upgrades not via terminal and especially not from the update manager.
NONE

Revision history for this message
adelina (adelinanadjasamadi) said :
#75

shakila@Samadi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
shakila@Samadi:~$

As you can see nothing happened, it is still the same.

Revision history for this message
Manfred Hampl (m-hampl) said :
#76

Your output of "sudo apt-get update" that ends with "ldconfig deferred processing now taking place" shows that finally the package management system is operating correctly again, and that is has updated your system with the latest updates for oneiric.
The next step now should be to do the release-upgrade to precise.

Please open update-manager.
Click on 'Settings' and in the pop-up-window that opens switch to the 'Updates' tab.
Make sure that besides 'Notify me of a new Ubuntu version' the item 'long term support versions' is selected.
see http://img.afreecodec.com/images/v3/wp-content/uploads/2012/10/ubuntu-software-sources-version-check-option.png
Close the pop-up window to go back to the main windows of update-manager and press the 'Check' button again.
This should cause that you see a button to initiate the upgrade, similar to this picture http://www.howtoforge.de/images/upgrade_ubuntu_11.10_to_12.04_TLS_Precise_Pangolin/2.jpg

If this still does not work please tell us and we will tell you how do initiate the release upgrade with terminal window commands.

Revision history for this message
adelina (adelinanadjasamadi) said :
#77

There are some security updates and something else but not 12.04 TLS
It is strange that when I click install updates it always fails the first couple of times by saying check you internet connection, while I have internet. And then it succeeds but this update was installed in a few seconds, is that possible?
I think my only option is initiating the release upgrade with terminal window commands.
But what if that doesn't work either?

Revision history for this message
Manfred Hampl (m-hampl) said :
#78

Before we waste more time and effort let me give instructions for the release upgrade via the terminal.

Open a terminal windows and execute the following commands (But do that only when you have some hours time. Once that the upgrade process has processed past the download phase, you cannot interrupt it any more!):

sudo apt-get install update-manager-core
sudo do-release-upgrade

You will see that a few questions are asked, some of them you have to answer with "yes" by pressing the y key. See an example of such upgrade on http://www.howtoforge.com/how-to-upgrade-ubuntu-11.10-oneiric-ocelot-to-12.04-lts-precise-pangolin-desktop-and-server-p2

If there are any problems please do not hesitate to ask again.
And in case that this attempt does not work either, there is still another possibility with downloading the Ubuntu 12.04 CD and doing the upgrade with that one.

Revision history for this message
adelina (adelinanadjasamadi) said :
#79

As you can see below that didn't work either. Where and how exactly do I download the Ubuntu 12.04 CD? Once I have the program/edition/software whatsoever I need to burn a CD right? I never done that. Perhaps a friend of mine could do it for me.

shakila@Samadi:~$ sudo apt-get install update-manager-core
[sudo] password for shakila:
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ sudo do-release-upgrade
Checking for a new ubuntu release
No new release found
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#80

1. Another idea to find out why the standard ways for upgrading do not work:
Please provide the output of the commands

cat /etc/update-manager/release-upgrades
cat /etc/update-manager/meta-release

2. For doing the upgrade with help of the 12.04 CD, you would have to download the 12.04-alternative iso file (about 700 MB in size). Burning that to a CD is not a must, you can loop mount it to your current system (I can tell you the command for that when you want to go that way).

Revision history for this message
adelina (adelinanadjasamadi) said :
#81

shakila@Samadi:~$ cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
prompt=lts
shakila@Samadi:~$ cat /etc/update-manager/meta-release
# default location for the meta-release file

[METARELEASE]
URI = http://changelogs.ubuntu.com/meta-release
URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
URI_UNSTABLE_POSTFIX = -development
URI_PROPOSED_POSTFIX = -proposed
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#82

Maybe I have identified something that can be the cause. As far as I can see in other references, the entry in /etc/update-manager/release-upgrades should be "Prompt=lts" with a capital P.

for correcting this open a terminal and issue the command
gksudo gedit /etc/update-manager/release-upgrades
This will ask for your password and then open an editor with the release-upgrade config file loaded.
Scroll down to the last line and change prompt=lts into Prompt=lts
Save the file and close the editor.

Finally try the command
sudo do-release-upgrade
again.

Revision history for this message
adelina (adelinanadjasamadi) said :
#83

Not all updates can be intsalled
Run a partial upgrade, to install as many updates as possible.
This can be caused by:
*A previous upgrade which didn't complete
* Problem with some of the installed software
* Unofficial software packages not provided by Ubuntu
* Normal changes of a pre-release version of Ubuntu

I saw this message when trying to install new updates. So I clicked on partial Upgrade instead of Close, it succeed.

Revision history for this message
adelina (adelinanadjasamadi) said :
#84

shakila@Samadi:~$ sudo do-release-upgrade
[sudo] password for shakila:
Checking for a new ubuntu release
No new release found
shakila@Samadi:~$

:(.. Got to go to work now. I'll be back later on.

Revision history for this message
Manfred Hampl (m-hampl) said :
#85

Next attempt to identify the cause, open a terminal and issue these commands:

find /etc/update-manager -name '*' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
check-new-release-gtk --debug

and copy/paste the output as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#86

shakila@Samadi:~$ find /etc/update-manager -name '*' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/update-manager

cat: /etc/update-manager: Is a directory

/etc/update-manager/release-upgrades.d

cat: /etc/update-manager/release-upgrades.d: Is a directory

/etc/update-manager/meta-release

     1 # default location for the meta-release file
     2
     3 [METARELEASE]
     4 URI = http://changelogs.ubuntu.com/meta-release
     5 URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
     6 URI_UNSTABLE_POSTFIX = -development
     7 URI_PROPOSED_POSTFIX = -proposed

/etc/update-manager/release-upgrades

     1 # Default behavior for the release upgrader.
     2
     3 [DEFAULT]
     4 # Default prompting behavior, valid options:
     5 #
     6 # never - Never check for a new release.
     7 # normal - Check to see if a new release is available. If more than one new
     8 # release is found, the release upgrader will attempt to upgrade to
     9 # the release that immediately succeeds the currently-running
    10 # release.
    11 # lts - Check to see if a new LTS release is available. The upgrader
    12 # will attempt to upgrade to the first LTS release available after
    13 # the currently-running one. Note that this option should not be
    14 # used if the currently-running release is not itself an LTS
    15 # release, since in that case the upgrader won't be able to
    16 # determine if a newer release is available.
    17 Prompt=lts

/etc/update-manager/Untitled Document 1

/etc/update-manager/release-upgrades~

     1 # Default behavior for the release upgrader.
     2
     3 [DEFAULT]
     4 # Default prompting behavior, valid options:
     5 #
     6 # never - Never check for a new release.
     7 # normal - Check to see if a new release is available. If more than one new
     8 # release is found, the release upgrader will attempt to upgrade to
     9 # the release that immediately succeeds the currently-running
    10 # release.
    11 # lts - Check to see if a new LTS release is available. The upgrader
    12 # will attempt to upgrade to the first LTS release available after
    13 # the currently-running one. Note that this option should not be
    14 # used if the currently-running release is not itself an LTS
    15 # release, since in that case the upgrader won't be able to
    16 # determine if a newer release is available.
    17 prompt=lts
shakila@Samadi:~$ check-new-release-gtk --debug
check-new-release-gtk: command not found
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#87

The config files seem ok to me.

Try the following:
open a terminal and issue the command
sudo do-release-upgrade -d
and carefully check the output:
if it still tells "No new release found", this does not get us a step further
if it tells about the quantal (12.10) or raring (13.04) releases this goes a step too far, please cancel it with ctrl-c then
if it tells that precise pangolin (12.04) is available, this is finally the command for your desired upgrade.

Revision history for this message
adelina (adelinanadjasamadi) said :
#88

it says no new release found :(

Revision history for this message
Manfred Hampl (m-hampl) said :
#89

One more attempt:
open update-manager
click on 'settings'
go to the 'updates' tab
besides the last entry select 'any new release' instead of 'Long Term Support only'
close the settings window
click on 'check'
and verify if there is a new release offered.
If not, close update-manager
open a terminal and issue the command
"sudo do-release-upgrade" as done before.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#90

If you download and burn the Precise ISO then boot the the media you made, an upgrade option will be offered

Revision history for this message
adelina (adelinanadjasamadi) said :
#91

WOooHOOoooo!!! :D It's working I believe..
I'm now upgrading Ubuntu to version 12.04
I did get this following info message:

Third party sources disabled
Some third party entries in your sources.list were disabled.
You can re-enable them after the upgrade with the 'software-
properties' tool or you package manager.

I get kind of what it's saying but is it relevant to re-enable them after the upgrade?
Also do I need to change 'any new release' back into 'Long Term Support only' or not?
Another thing I would like to know, which of the following do you recommend me to use, and which one is 'safer'; Firefox or Google Chrome?

Thank you so so so sooooooooo much Manfred and you too Andrew! :)

Revision history for this message
adelina (adelinanadjasamadi) said :
#92

Thanks Manfred Hampl, that solved my question.

Revision history for this message
adelina (adelinanadjasamadi) said :
#93

shakila@Samadi:~$ shakila@Samadi:~$ lsb_release -a
shakila@Samadi:~$: command not found

Why?
How can I see whether I have the new version?

Revision history for this message
adelina (adelinanadjasamadi) said :
#94

I have 12.04 but I still can't seem to download applications from Ubuntu Software Center :-/

Revision history for this message
Manfred Hampl (m-hampl) said :
#95

Congratulations, finally you made it.

RE:
shakila@Samadi:~$ shakila@Samadi:~$ lsb_release -a
shakila@Samadi:~$: command not found

Apparently you erroneously gave "shakila@Samadi:~$ lsb_release -a" as the command, not just "lsb_release -a".
Try again with
lsb_release -a

RE:
Also do I need to change 'any new release' back into 'Long Term Support only' or not?

You have to decide whether you prefer the "bleeding edge" most up-to-date version with the requirement to perform release upgrades every half year, or if you want to use a stable version that is going to be supported for another four years without the need of frequent management activities.
In the latter case you should swith back the settings to "LTS only". (I guess that has to be recommended to you.)

RE:
Third party sources disabled

This is a standard message during an upgrade. You had some PPAs activated in the past, and during the upgrade they are diabled to prevent interfering with the release upgrade process. As far as I can see from your sources.list output above, I do not think that you have to do anything with that now.

RE:
I have 12.04 but I still can't seem to download applications from Ubuntu Software Center :-/

Can you open Ubuntu Software Center without problems, or do you get an error message?
If you try installing a package from inside Software Center, what happens? Nothing? Error messages?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#96

What is the output of:

cat /etc/issue

Thanks

Revision history for this message
adelina (adelinanadjasamadi) said :
#97

@ Manfred it says:
Requires installation of untrusted packages
The action would require the installation of packages from not authenticated sources.
I can click then ok or repair
Tried both, ok does nothing and if I click repair it says:
Failed to download repository information
Check your internet connection

It doesn't matter what I would want to download/install from Ubuntu Software Center it always says the things mentioned above.
And I DO have internet.

@Andrew output: Ubuntu 12.04.2 LTS \n \l

Revision history for this message
Manfred Hampl (m-hampl) said :
#98

To get more information about the root cause of your new problem please open a terminal and issue the following commands:

sudo apt-get update
sudo dpkg --configure -a
sudo apt-get --fix-broken install
sudo apt-get --fix-missing install
sudo apt-get upgrade
sudo apt-get dist-upgrade

Then select all output and copy/paste it into this question document as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#99

Output:

shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
Hit http://archive.canonical.com precise Release.gpg
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise/partner Sources
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:2 http://archive.ubuntu.com precise Release.gpg [198 B]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:3 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Ign http://archive.canonical.com precise/partner Translation-en_US
Hit http://archive.ubuntu.com precise-proposed Release.gpg
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Get:5 http://archive.ubuntu.com precise Release [49.6 kB]
Get:6 http://archive.ubuntu.com precise-security Release [49.6 kB]
Ign http://archive.ubuntu.com precise Release
Get:7 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://archive.ubuntu.com precise-proposed Release
Ign http://archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Hit http://archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
W: GPG error: http://archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: Conflicting distribution: http://archive.ubuntu.com precise-security Release (expected precise-security but got precise)
W: Conflicting distribution: http://archive.ubuntu.com precise-updates Release (expected precise-updates but got precise)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages.IndexDiff - open (2: No such file or directory)
shakila@Samadi:~$ sudo dpkg --configure -a
shakila@Samadi:~$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ 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.
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

I didn't notice any installation of broken or missing parts, right?
Didn't got an answer on my previous question of which of the following do you recommend me to use, and which one is 'safer'; Firefox or Google Chrome?

Revision history for this message
Manfred Hampl (m-hampl) said :
#100

With respect to safety and security of web browsers: In my opinon there is not much difference between Firefox and Google Chrome, it is more a personal preference which one you choose. The key issue is that you should avoid browsing to pages that spread malware.

The following terminal commands should help with the error messages:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial

Then again try

sudo apt-get update
sudo apt-get upgrade

and copy/paste all output as done before.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#101

Although, Chrome comes with flash installed whereas Firefox needs Adobe Flash which I believe to be limited in support (omgubuntu ran a story on it)

Revision history for this message
adelina (adelinanadjasamadi) said :
#102

It's going to upgrade the available version: 1.2.3-0ubuntu0.12.04.2 and I don't want that. Because of the Long Time Support.
How can I do all these above and also prevent the upgrade?

Here's the output of all the commands without the sudo apt-get update and sudo apt-get upgrade. Hopefully that's ok.

Output:
shakila@Samadi:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
[sudo] password for shakila:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.inJDPELTzB --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
shakila@Samadi:~$ sudo rm -rf /var/lib/apt/lists
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists/partial
shakila@Samadi:~$

I do have to say that the output is different than the first time I did this but when I saw it wanted to update and upgrade to the next version I stopped it. Hope I didn't do anything bad or harmful.

Revision history for this message
Manfred Hampl (m-hampl) said :
#103

You should not confuse an update of a package with a release upgrade to the next Ubuntu release.

As far as I can see you finally have upgraded to the desired Ubuntu Release 12.04 LTS, and I understand that you want to avoid the undesired upgrade to one of the later short-term-support releases. The key setting is to have 'LTS only' in the update settings. In case you have not yet set this value, please proceed as follows:

open update-manager
click on 'settings'
go to the 'updates' tab
besides the last entry select 'Long Term Support only'

You should still make sure that you regularly care for updating the packages, as security updates are published also for the packages in Ubuntu 12.04. An easy way is using update-manager and just clicking on 'check'. When that action is completed you will see a list of packages that are to be upgraded to a higher version. Just click on 'Install updates' and the updates for the installed packages are done whilst keeping your Ubuntu installation on the 12.04 release. Just make sure not to click on a 'New Release <number> is available - upgrade' button in case you see one (when setting to 'LTS only' it should not be shown anyhow - until April 2014).

As you have seen some error messages during your last update attempt, we have to find out what there is wrong. This is best done with terminal commands. So please open a terminal and issue these commands:

uname -a
lsb_release -a
sudo apt-get update
sudo apt-get upgrade

and then copy/paste all output as done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#104

It's already on LTS only but it still shows me at the description update the available version so therefor I'm afraid to click install updates
Changes for the versions:
Installed version: 1.2.3-0ubuntu0.12.04.1
Available version: 1.2.3-0ubuntu0.12.04.2

If it is updating or upgrading to the the next version is it possible for me to change it back to the previous version?
I think I clicked on the 'New Release ... is available - upgrade' button and then it was starting the process but then I immediately clicked on cancel. This was short after when I upgraded to Ubuntu.12.04.1

Revision history for this message
adelina (adelinanadjasamadi) said :
#105

I updated without upgrading to the next version :)

Output:

shakila@Samadi:~$ uname -a
Linux Samadi 3.2.0-41-generic-pae #66-Ubuntu SMP Thu Apr 25 03:50:20 UTC 2013 i686 i686 i386 GNU/Linux
shakila@Samadi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://archive.canonical.com precise Release.gpg
Get:3 http://archive.ubuntu.com precise Release.gpg [198 B]
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Get:4 http://dl.google.com stable Release [1,347 B]
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Get:5 http://dl.google.com stable/main i386 Packages [1,251 B]
Ign http://archive.canonical.com precise/partner TranslationIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign http://dl.google.com stable/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Get:6 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:7 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:8 http://archive.ubuntu.com precise-proposed Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release
Ign http://archive.ubuntu.com precise Release
Get:9 http://archive.ubuntu.com precise-security Release [49.6 kB]
Get:10 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:11 http://archive.ubuntu.com precise-proposed Release [49.6 kB]
Ign http://archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Ign http://archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
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:12 http://archive.ubuntu.com precise-security/main Sources [70.1 kB]
Get:13 http://archive.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:14 http://archive.ubuntu.com precise-security/universe Sources [24.0 kB]
Get:15 http://archive.ubuntu.com precise-security/multiverse Sources [1,389 B]
Get:16 http://archive.ubuntu.com precise-security/main i386 Packages [264 kB]
Get:17 http://archive.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:18 http://archive.ubuntu.com precise-security/universe i386 Packages [73.9 kB]
Get:19 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2,368 B]
Get:20 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:21 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:22 http://archive.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:23 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:24 http://archive.ubuntu.com precise-updates/main Sources [379 kB]
Get:25 http://archive.ubuntu.com precise-updates/restricted Sources [5,467 B]
Get:26 http://archive.ubuntu.com precise-updates/universe Sources [85.8 kB]
Get:27 http://archive.ubuntu.com precise-updates/multiverse Sources [6,562 B]
Get:28 http://archive.ubuntu.com precise-updates/main i386 Packages [617 kB]
Get:29 http://archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB]
Get:30 http://archive.ubuntu.com precise-updates/universe i386 Packages [200 kB]
Get:31 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB]
Get:32 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:33 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:34 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:35 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:36 http://archive.ubuntu.com precise-proposed/restricted i386 Packages [14 B]
Get:37 http://archive.ubuntu.com precise-proposed/main i386 Packages [57.4 kB]
Get:38 http://archive.ubuntu.com precise-proposed/multiverse i386 Packages [1,733 B]
Get:39 http://archive.ubuntu.com precise-proposed/universe i386 Packages [13.4 kB]
Hit http://archive.ubuntu.com precise-proposed/main TranslationIndex
Hit http://archive.ubuntu.com precise-proposed/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-proposed/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-proposed/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://archive.ubuntu.com precise/universe Sources
Hit http://archive.ubuntu.com precise/multiverse Sources
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 Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Get:40 http://archive.ubuntu.com precise-security/main Translation-en [121 kB]
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-security/restricted Translation-en
Get:41 http://archive.ubuntu.com precise-security/universe Translation-en [45.2 kB]
Get:42 http://archive.ubuntu.com precise-updates/main Translation-en [271 kB]
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Get:43 http://archive.ubuntu.com precise-updates/universe Translation-en [116 kB]
Hit http://archive.ubuntu.com precise-proposed/main Translation-en
Hit http://archive.ubuntu.com precise-proposed/multiverse Translation-en
Hit http://archive.ubuntu.com precise-proposed/restricted Translation-en
Hit http://archive.ubuntu.com precise-proposed/universe Translation-en
Fetched 2,551 kB in 34s (74.2 kB/s)
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

Revision history for this message
adelina (adelinanadjasamadi) said :
#106

oh no it upgraded to 1.2.3-0ubuntu0.12.04.2 :(((((((((((((((((((((((((( How do I go back to 1.2.3-0ubuntu0.12.04.1 ???????

Revision history for this message
Manfred Hampl (m-hampl) said :
#107

Calm down, no problem, everything is ok.

As fas as I see just the package icedtea-web has been updated from 1.2.3-0ubuntu0.12.04.1 to 1.2.3-0ubuntu0.12.04.2. This is an update to repair an error in the older version. As you can even see from the version number containing "12.04", you are still on the right ubuntu release.

Again: you should not confuse a package version update with the Ubuntu release upgrade.

I expect that in near future you will again see that some packages are due for version updates (e.g. firefox, thunderbird, java), and higher kernel versions will be installed. All these actions will not perform an Ubuntu release upgrade, but still keep your system on 12.04 LTS.

You have to be aware, that sooner or later there will be 'minor release upgrades' that will change the Ubuntu release number from 12.04.2 to 12.04.3 and 12.04.4 so on. All these sub-releases still count as LTS. (Note that these minor version changes will be performed in update-manager by just updating the packages, not by pressing the 'release upgrade' button.)

To get rid of the last error messages that you see, try the following:
open a terminal and issue the commands

sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-get update
sudo apt-get upgrade

Then copy/paste all output into this question documentas done before.

Revision history for this message
adelina (adelinanadjasamadi) said :
#108

I see, thanks for the info. I know so much now thanks to you. Thanks a lot again.
Output:

shakila@Samadi:~$ sudo rm -rf /var/lib/apt/lists
[sudo] password for shakila:
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists/partial
shakila@Samadi:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.vHD1JusY9X --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
shakila@Samadi:~$ sudo apt-get update
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.canonical.com precise Release.gpg [198 B]
Get:3 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:4 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:6 http://archive.ubuntu.com precise-proposed Release.gpg [198 B]
Get:7 http://archive.canonical.com precise Release [7,078 B]
Get:8 http://extras.ubuntu.com precise Release [11.9 kB]
Get:9 http://archive.ubuntu.com precise Release [49.6 kB]
Get:10 http://dl.google.com stable Release.gpg [198 B]
Get:11 http://archive.ubuntu.com precise-security Release [49.6 kB]
Get:12 http://archive.canonical.com precise/partner Sources [4,510 B]
Get:13 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:14 http://archive.canonical.com precise/partner i386 Packages [5,874 B]
Get:15 http://extras.ubuntu.com precise/main Sources [8,130 B]
Get:16 http://archive.ubuntu.com precise-proposed Release [49.6 kB]
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:17 http://dl.google.com stable Release [1,347 B]
Get:18 http://extras.ubuntu.com precise/main i386 Packages [10.8 kB]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:19 http://archive.ubuntu.com precise/main Sources [934 kB]
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Get:20 http://dl.google.com stable/main i386 Packages [1,251 B]
Ign http://dl.google.com stable/main TranslationIndex
Get:21 http://archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:22 http://archive.ubuntu.com precise/universe Sources [5,019 kB]
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Get:23 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:24 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:25 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:26 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:27 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:28 http://archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:29 http://archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:30 http://archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:31 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:32 http://archive.ubuntu.com precise-security/main Sources [70.1 kB]
Get:33 http://archive.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:34 http://archive.ubuntu.com precise-security/universe Sources [24.0 kB]
Get:35 http://archive.ubuntu.com precise-security/multiverse Sources [1,389 B]
Get:36 http://archive.ubuntu.com precise-security/main i386 Packages [264 kB]
Get:37 http://archive.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:38 http://archive.ubuntu.com precise-security/universe i386 Packages [73.9 kB]
Get:39 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2,368 B]
Get:40 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:41 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:42 http://archive.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:43 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:44 http://archive.ubuntu.com precise-updates/main Sources [379 kB]
Get:45 http://archive.ubuntu.com precise-updates/restricted Sources [5,467 B]
Get:46 http://archive.ubuntu.com precise-updates/universe Sources [85.8 kB]
Get:47 http://archive.ubuntu.com precise-updates/multiverse Sources [6,562 B]
Get:48 http://archive.ubuntu.com precise-updates/main i386 Packages [617 kB]
Get:49 http://archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB]
Get:50 http://archive.ubuntu.com precise-updates/universe i386 Packages [200 kB]
Get:51 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB]
Get:52 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:53 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:54 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:55 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:56 http://archive.ubuntu.com precise-proposed/restricted i386 Packages [14 B]
Get:57 http://archive.ubuntu.com precise-proposed/main i386 Packages [57.4 kB]
Get:58 http://archive.ubuntu.com precise-proposed/multiverse i386 Packages [1,733 B]
Get:59 http://archive.ubuntu.com precise-proposed/universe i386 Packages [13.4 kB]
Get:60 http://archive.ubuntu.com precise-proposed/main TranslationIndex [3,564 B]
Get:61 http://archive.ubuntu.com precise-proposed/multiverse TranslationIndex [2,605 B]
Get:62 http://archive.ubuntu.com precise-proposed/restricted TranslationIndex [2,461 B]
Get:63 http://archive.ubuntu.com precise-proposed/universe TranslationIndex [2,850 B]
Get:64 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:65 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:66 http://archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:67 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:68 http://archive.ubuntu.com precise-security/main Translation-en [121 kB]
Get:69 http://archive.ubuntu.com precise-security/multiverse Translation-en [995 B]
Get:70 http://archive.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:71 http://archive.ubuntu.com precise-security/universe Translation-en [45.2 kB]
Get:72 http://archive.ubuntu.com precise-updates/main Translation-en [271 kB]
Get:73 http://archive.ubuntu.com precise-updates/multiverse Translation-en [7,834 B]
Get:74 http://archive.ubuntu.com precise-updates/restricted Translation-en [2,432 B]
Get:75 http://archive.ubuntu.com precise-updates/universe Translation-en [116 kB]
Get:76 http://archive.ubuntu.com precise-proposed/main Translation-en [27.3 kB]
Get:77 http://archive.ubuntu.com precise-proposed/multiverse Translation-en [946 B]
Get:78 http://archive.ubuntu.com precise-proposed/restricted Translation-en [14 B]
Get:79 http://archive.ubuntu.com precise-proposed/universe Translation-en [7,309 B]
Fetched 19.2 MB in 17s (1,097 kB/s)
Reading package lists... Done
shakila@Samadi:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
shakila@Samadi:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#109

This last output shows a healthy package management system.

If you still see problems, please tell us the details.

If you agree that the problems have been resolved, please mark this question thread als 'solved' - either by opening the related link at the end of the e-mail that you receive, or by visiting https://answers.launchpad.net/ubuntu/+source/apt/+question/225223 and pressing the appropriate button.

In case you experience problems related to other topics, please open a new question.

Revision history for this message
adelina (adelinanadjasamadi) said :
#110

I have 12.04 but I still can't seem to download applications from Ubuntu Software Center which was and still is my main problem in the beginning until someone mentioned I need to upgrade my version because of its end of life at that moment and I wasn't able to do so easily as you have noticed.

If I want to install anything from Ubuntu Software Center I'll get the following message:
Failed to load the package list
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers

And when I click for the details it says:
E:Unable to synchronize mmap - msync (5: Input/output error), E:The package lists or status file could not be parsed or opened

Or I get the message to check my internet connection but I DO have internet.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#111

What is the output of:

file /var/lib/dpkg/status

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#112

"(5: Input/output error)" usually indicates a file system error. Most probably something went wrong in the file/directory structure of your root file system
You should perform a file system check on your hard disks (something comparable to chkdsk in DOS/Windows computers).

One possibility to do such file system check is to open a terminal and issuing the command

sudo touch /forcefsck

and then rebooting the computer. During the next boot process a file system check will be performed. Carefully look for any error messages during that process.

Please provide also the output of actionparsnip's command
file /var/lib/dpkg/status
and the output of
ls -la /var/lib/dpkg

Revision history for this message
adelina (adelinanadjasamadi) said :
#113

shakila@Samadi:~$ file /var/lib/dpkg/status
/var/lib/dpkg/status: UTF-8 Unicode English text, with very long lines
shakila@Samadi:~$ ls -la /var/lib/dpkg
total 8940
drwxr-xr-x 7 root root 4096 May 1 22:28 .
drwxr-xr-x 63 root root 4096 Apr 23 23:20 ..
drwxr-xr-x 2 root root 4096 May 1 22:28 alternatives
-rw-r--r-- 1 root root 1556144 May 1 22:26 available
-rw-r--r-- 1 root root 0 Apr 3 23:30 available-bad
-rw-r--r-- 1 root root 1556136 Apr 23 23:25 available-old
-rw-r--r-- 1 root root 8 Oct 12 2011 cmethopt
-rw-r--r-- 1 root root 1160 Apr 23 22:20 diversions
-rw-r--r-- 1 root root 1206 Apr 23 21:42 diversions-old
-rw-r--r-- 1 root root 1 Oct 12 2011 format
drwxr-xr-x 2 root root 393216 May 1 22:26 info
-rw-r----- 1 root root 0 May 1 22:26 lock
drwxr-xr-x 2 root root 4096 Oct 6 2011 parts
-rw-r--r-- 1 root root 135 Oct 12 2011 statoverride
-rw-r--r-- 1 root root 1921150 May 1 22:28 status
-rw-r--r-- 1 root root 2 Mar 26 20:24 status~
-rw-r--r-- 1 root root 1744081 Apr 3 23:30 status-bad
-rw-r--r-- 1 root root 1921715 May 1 22:26 status-old
drwxr-xr-x 2 root root 4096 May 1 22:27 triggers
drwxr-xr-x 2 root root 4096 May 1 22:28 updates
shakila@Samadi:~$ sudo touch /forcefsck
[sudo] password for shakila:
shakila@Samadi:~$

I miss downloading music or films I can't do that either anymore..

Revision history for this message
Launchpad Janitor (janitor) said :
#114

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
adelina (adelinanadjasamadi) said :
#115

?

Revision history for this message
Manfred Hampl (m-hampl) said :
#116

Just to check the status of your system:

Have you performed a file system check? Has it provided any output?

What is the output of
sudo apt-get update
sudo apt-get upgrade
?

Revision history for this message
Launchpad Janitor (janitor) said :
#117

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.