i cant seem to install delete programs or upgrade have tried everything
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:
Revision history for this message
|
#1 |
IM NEW HELPPPPPPPPPPPP
Revision history for this message
|
#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
|
#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://
Thank you Michael!
Revision history for this message
|
#4 |
Please read this:
https:/
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
|
#5 |
Hello Mark
where do I find/get Ubuntu 12.04 LTS?
Revision history for this message
|
#6 |
You can upgrade from 11.10 to 12.04 in one move.
Revision history for this message
|
#8 |
Please follow the instructions here:
https:/
(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:
and here:
Revision history for this message
|
#9 |
What is the output of :
grep -R restricted /etc/apt/*
Thanks
Revision history for this message
|
#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
|
#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_
DISTRIB_
DISTRIB_
shakila@Samadi:~$ uname -a
Linux Samadi 3.0.0-32-
shakila@Samadi:~$ sudo rm /var/lib/
rm: cannot remove `/var/lib/
shakila@Samadi:~$ sudo rm /var/lib/dpkg/lock
shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/
sudo mv /var/lib/
shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/
shakila@Samadi:~$ shakila@Samadi:~$
shakila@Samadi:~$
shakila@Samadi:~$
shakila@Samadi:~$ sudo mv /var/lib/
shakila@Samadi:~$ shakila@Samadi:~$ sudo cp -arf /var/lib/dpkg /var/lib/
shakila@Samadi:~$: command not found
shakila@Samadi:~$ sudo mv /var/lib/
mv: cannot stat `/var/lib/
shakila@Samadi:~$ sudo cp /var/lib/
shakila@Samadi:~$ sudo mv /var/lib/
shakila@Samadi:~$ sudo cp /var/lib/
shakila@Samadi:~$ sudo rm -rf /var/lib/
shakila@Samadi:~$ sudo rm -rf /var/lib/apt/lists
shakila@Samadi:~$ sudo rm /var/cache/
shakila@Samadi:~$ sudo mkdir /var/lib/apt/lists
shakila@Samadi:~$ sudo mkdir /var/lib/
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-
linux-
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-
Purging configuration files for libaccess-
Removing libaccess-
Removing linux-headers-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
shakila@Samadi:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
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-
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/
/etc/apt/
1 # deb http://
2 # deb-src http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 # deb http://
/etc/apt/
1 # deb http://
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/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
shakila@Samadi:~$ rm -rf ~/.cache/
shakila@Samadi:~$ rm -rf ~/.config/
shakila@Samadi:~$ rm -rf ~/.cache/
shakila@Samadi:~$ sudo rm /var/lib/
shakila@Samadi:~$ sudo rm /var/lib/
shakila@Samadi:~$ sudo update-
Reading plugin /usr/share/
Reading aliases from /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
Reading plugin /usr/share/
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/
Rebuilding Xapian index... 0%
flash10.desktop: parsing X-AppInstall-
Rebuilding Xapian index... 11%
gnome-font-
Rebuilding Xapian index... 80%
skype.desktop: parsing X-AppInstall-
Rebuilding Xapian index: done.
Installing the new index.
Removing old index /var/cache/
Writing value information to /var/lib/
Writing prefix information to /var/lib/
Writing documentation to /var/lib/
shakila@Samadi:~$ sudo update-
The index /var/lib/
Reading .desktop files from /usr/share/
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-
sudo: update-
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://
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
|
#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://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
88% [Waiting for headers]
Ign http://
Ign http://
Ign http://
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
|
#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
|
#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/
/etc/apt/
1 # deb http://
2 # deb-src http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 # deb http://
/etc/apt/
So apparently your /etc/apt/
Please run this command:
gksudo gedit /etc/apt/
Using the gedit editor, please add the following lines into the /etc/apt/
#######
################### OFFICIAL UBUNTU REPOS ###################
#######
###### Ubuntu Main Repos
deb http://
deb-src http://
###### Ubuntu Update Repos
deb http://
deb http://
deb-src http://
deb-src http://
###### Ubuntu Partner Repo
deb http://
deb-src http://
###### Ubuntu Extras Repo
deb http://
deb-src http://
Revision history for this message
|
#15 |
After the /etc/apt/
sudo apt-get update
sudo apt-get install software-center
Revision history for this message
|
#16 |
Once that is done, I suggest executing this procedure to upgrade to Ubuntu 12.04 as soon as possible:
Revision history for this message
|
#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://
Ign http://
Ign http://
Ign http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Get:3 http://
Hit http://
Get:4 http://
Ign http://
Get:5 http://
Get:6 http://
Hit http://
Get:7 http://
Ign http://
Ign http://
Get:8 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Fetched 17.4 MB in 58s (298 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://
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://
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-
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
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~
Available version: 0.8.16~
Version 0.8.16~
* SECURITY UPDATE: InRelease verification bypass
- CVE-2013-1051
[ David Kalnischk ]
[ Michael Vogt ]
* apt-pkg/
test/
test/
- 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.
Available version: 26.0.1410.
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
|
#18 |
What is the output of:
grep -R partner /etc/apt/*
Thanks
Revision history for this message
|
#19 |
@ actionparsnip output: permission denied
Revision history for this message
|
#20 |
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
|
#21 |
Try running the package manager troubleshooting procedure again. https:/
If during one of the steps you see strange output like
"Version 0.8.16~
* 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
|
#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-
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
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-
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Ign http://
Ign http://
Err http://
Ign http://
Ign http://
Err http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
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/
1 #######
2 ################### OFFICIAL UBUNTU REPOS ###################
3 #######
4
5 ###### Ubuntu Main Repos
6 deb http://
7 deb-src http://
8
9 ###### Ubuntu Update Repos
10 deb http://
11 deb http://
12 deb-src http://
13 deb-src http://
14
15 ###### Ubuntu Partner Repo
16 deb http://
17 deb-src http://
18
19 ###### Ubuntu Extras Repo
20 deb http://
21 deb-src http://
/etc/apt/
1 deb-src http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://
/etc/apt/
1 deb http://
shakila@Samadi:~$
Revision history for this message
|
#23 |
Try:
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
sudo apt-get update
Revision history for this message
|
#24 |
@ actionparsnip
nothing happened.
Revision history for this message
|
#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
|
#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
|
#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
|
#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/
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
|
#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/
[sudo] password for shakila:
shakila@Samadi:~$ sudo apt-get update
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Ign http://
Ign http://
Err http://
Ign http://
Err http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
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
|
#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
|
#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
|
#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
|
#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>
https_proxy=https://<username>
ftp_proxy=ftp://<username>
shakila@Samadi:~$ echo $http_proxy
http://<username>
shakila@Samadi:~$ echo $ftp_proxy
ftp://<username>
shakila@Samadi:~$ grep proxy /etc/bash.bashrc
export http_proxy=http://<username>
export https_proxy=https://<username>
export ftp_proxy=ftp://<username>
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/
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="$
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.
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/
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=
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_
40
41 if [ -n "$force_
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='${
54 else
55 PS1='${
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="\[
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/^
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/
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_
102 . /etc/bash_
103 fi
shakila@Samadi:~$ cat -n ~/.bash_profile
cat: /home/shakila/
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='${
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_
26 # ;;
27 #*)
28 # ;;
29 #esac
30
31 # enable bash completion in interactive shells
32 #if [ -f /etc/bash_
33 # . /etc/bash_
34 #fi
35
36 # sudo hint
37 if [ ! -e "$HOME/
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/
51 function command_
52 # check because c-n-f could've been removed in the meantime
53 if [ -x /usr/lib/
54 /usr/bin/python /usr/lib/
55 return $?
56 elif [ -x /usr/share/
57 /usr/bin/python /usr/share/
58 return $?
59 else
60 return 127
61 fi
62 }
63 fi
64 export http_proxy=http://<username>
65
66 export https_proxy=https://<username>
67
68 export ftp_proxy=ftp://<username>
shakila@Samadi:~$
Thank you.
Revision history for this message
|
#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
|
#36 |
Either way I'm still a fan!!! :)
Revision history for this message
|
#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>
https_proxy=https://<username>
ftp_proxy=ftp://<username>
from /etc/environment and you have to remove the lines
export http_proxy=http://<username>
export https_proxy=https://<username>
export ftp_proxy=ftp://<username>
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://
Revision history for this message
|
#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
|
#39 |
Also when I put /etc/environment or /etc/bash.bashrc , I get permission denied.
Revision history for this message
|
#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>
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>
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
|
#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
|
#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
|
#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://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Ign http://
Err http://
Ign http://
Ign http://
Err http://
Ign http://
Err http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
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
|
#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
|
#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://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Ign http://
Ign http://
Ign http://
Err http://
Ign http://
Err http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
Err http://
Something wicked happened resolving '<proxy>:http' (-5 - No address associated with hostname)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
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
|
#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
|
#48 |
@ actionparsnip thank you for your respond. Can you tell me exactly what to remove and how please?
Revision history for this message
|
#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
|
#51 |
Output:
shakila@Samadi:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for shakila:
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
shakila@Samadi:~$ echo $http_proxy
shakila@Samadi:~$ echo $ftp_proxy
shakila@Samadi:~$ grep proxy /etc/environment
#http_proxy=http://<username>
#https_proxy=https://<username>
#ftp_proxy=ftp://<username>
shakila@Samadi:~$ grep proxy /etc/profile
shakila@Samadi:~$ grep proxy /etc/bash.bashrc
#export http_proxy=http://<username>
#export https_proxy=https://<username>
#export ftp_proxy=ftp://<username>
shakila@Samadi:~$ grep proxy ~/.profile
shakila@Samadi:~$ grep proxy ~/.bashrc
shakila@Samadi:~$ grep proxy ~/.bash_profile
grep: /home/shakila/
shakila@Samadi:~$
Revision history for this message
|
#52 |
gksudo gedit /etc/apt/
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
|
#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
|
#54 |
On https:/
Yes you should comment out (or remove) all proxy-related lines from /etc/apt/
Open a terminal, issue the command "gksudo gedit /etc/apt/
Revision history for this message
|
#55 |
try:
mv /etc/apt/
sudo apt-get update
Is it smooth?
Revision history for this message
|
#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-
@ Andrew
It is not smooth, this is the output:
shakila@Samadi:~$ mv /etc/apt/
mv: cannot move `/etc/apt/
shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
E: Could not get lock /var/lib/
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
|
#57 |
I tried again and it succeed!! But only the updates not the upgrade to 20.0+build1-
Revision history for this message
|
#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
|
#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
|
#60 |
Its not always needed to reboot, this isn't Windows.
Revision history for this message
|
#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
|
#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
|
#63 |
Run:
sudo fuser -vki /var/lib/
Kill the process found
Revision history for this message
|
#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/
[sudo] password for shakila:
shakila@Samadi:~$ sudo fuser -vki /var/lib/
shakila@Samadi:~$ sudo fuser -vki /var/lib/
shakila@Samadi:~$
Revision history for this message
|
#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/
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
|
#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://
Get:1 http://
Get:2 http://
Hit http://
Get:3 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Get:5 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Ign http://
Ign http://
Ign http://
Get:10 http://
Ign http://
Ign http://
Get:11 http://
Get:12 http://
Get:13 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:14 http://
Ign http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 1,365 kB in 1s (697 kB/s)
Reading package lists... Done
shakila@Samadi:~$ mv /etc/apt/
mv: cannot move `/etc/apt/
shakila@Samadi:~$
Revision history for this message
|
#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
|
#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
|
#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://
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_
Unpacking replacement libcurl3 ...
Preparing to replace libcurl3-gnutls 7.21.6-3ubuntu3.2 (using .../libcurl3-
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
|
#70 |
All done, packages are installing and downloading as expected.
Revision history for this message
|
#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
|
#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://
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_
Unpacking replacement libcurl3 ...
Preparing to replace libcurl3-gnutls 7.21.6-3ubuntu3.2 (using .../libcurl3-
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
|
#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
|
#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://
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://
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
|
#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
|
#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://
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
|
#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/
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
|
#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-
cat /etc/update-
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
|
#81 |
shakila@Samadi:~$ cat /etc/update-
# 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-
# default location for the meta-release file
[METARELEASE]
URI = http://
URI_LTS = http://
URI_UNSTABLE_
URI_PROPOSED_
shakila@Samadi:~$
Revision history for this message
|
#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-
for correcting this open a terminal and issue the command
gksudo gedit /etc/update-
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
|
#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
|
#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
|
#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-
and copy/paste the output as done before.
Revision history for this message
|
#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-
/etc/update-
cat: /etc/update-
/etc/update-
1 # default location for the meta-release file
2
3 [METARELEASE]
4 URI = http://
5 URI_LTS = http://
6 URI_UNSTABLE_
7 URI_PROPOSED_
/etc/update-
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-
/etc/update-
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-
check-new-
shakila@Samadi:~$
Revision history for this message
|
#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
|
#88 |
it says no new release found :(
Revision history for this message
|
#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
|
#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
|
#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
|
#92 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
|
#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
|
#94 |
I have 12.04 but I still can't seem to download applications from Ubuntu Software Center :-/
Revision history for this message
|
#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
|
#96 |
What is the output of:
cat /etc/issue
Thanks
Revision history for this message
|
#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
|
#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
|
#99 |
Output:
shakila@Samadi:~$ sudo apt-get update
[sudo] password for shakila:
Hit http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Get:2 http://
Ign http://
Get:3 http://
Get:4 http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Get:5 http://
Get:6 http://
Ign http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
W: GPG error: http://
W: Conflicting distribution: http://
W: Conflicting distribution: http://
E: Could not open file /var/lib/
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
|
#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.
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
Then again try
sudo apt-get update
sudo apt-get upgrade
and copy/paste all output as done before.
Revision history for this message
|
#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
|
#102 |
It's going to upgrade the available version: 1.2.3-0ubuntu0.
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.
[sudo] password for shakila:
Executing: gpg --ignore-
gpg: requesting key 437D05B5 from hkp server keyserver.
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/
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
|
#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
|
#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.
Available version: 1.2.3-0ubuntu0.
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
|
#105 |
I updated without upgrading to the next version :)
Output:
shakila@Samadi:~$ uname -a
Linux Samadi 3.2.0-41-
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://
Get:2 http://
Hit http://
Get:3 http://
Hit http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:5 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:6 http://
Get:7 http://
Get:8 http://
Hit http://
Ign http://
Get:9 http://
Get:10 http://
Get:11 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:40 http://
Hit http://
Hit http://
Get:41 http://
Get:42 http://
Hit http://
Hit http://
Get:43 http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 2,551 kB in 34s (74.2 kB/s)
Reading package lists... Done
W: GPG error: http://
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
|
#106 |
oh no it upgraded to 1.2.3-0ubuntu0.
Revision history for this message
|
#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.
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/
sudo apt-key adv --keyserver keyserver.
sudo apt-get update
sudo apt-get upgrade
Then copy/paste all output into this question documentas done before.
Revision history for this message
|
#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/
shakila@Samadi:~$ sudo apt-key adv --keyserver keyserver.
Executing: gpg --ignore-
gpg: requesting key 437D05B5 from hkp server keyserver.
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Ign http://
Get:17 http://
Get:18 http://
Ign http://
Get:19 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:20 http://
Ign http://
Get:21 http://
Get:22 http://
Ign http://
Ign http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
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
|
#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:/
In case you experience problems related to other topics, please open a new question.
Revision history for this message
|
#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
|
#111 |
What is the output of:
file /var/lib/
Thanks
Revision history for this message
|
#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/
and the output of
ls -la /var/lib/dpkg
Revision history for this message
|
#113 |
shakila@Samadi:~$ file /var/lib/
/var/lib/
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
|
#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
|
#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
|
#117 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.