ubuntu 12.04 post release update issues
I've been using the beta version of Ubuntu 12.04 for about a month and had not encountered any updating issues. Today marks the official release of Ubuntu 12.04 and I've started getting these errors:
Reading package lists... Done
W: GPG error: http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
I've tried switching to the "Main Server" since it was set to "Custom Server" before the final release, and tried deleting the '/var/lib/
Best regards,
Daniel
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Nemo
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
cd; wget https:/
HTH
Revision history for this message
|
#2 |
I ran the command:
nemo@Nemo:~$ cd; wget https:/
--2012-04-26 16:54:15-- https:/
Resolving www.dropbox.com (www.dropbox.
Connecting to www.dropbox.com (www.dropbox.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `fixpackage'
[ <=> ] 28,351 --.-K/s in 0.002s
2012-04-26 16:54:16 (17.6 MB/s) - `fixpackage' saved [28351]
[sudo] password for nemo:
./fixpackage: 5: ./fixpackage: Syntax error: newline unexpected
Did not solve my problem:
Reading package lists... Done
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
Revision history for this message
|
#3 |
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade
Revision history for this message
|
#4 |
It fixed my primal issue but I am now experiencing what seems to be an even worse problem. I think I may have done something wrong, which is absurd since all I had to do was copy the commands you listed one by one.
'sudo apt-get update' gives me these errors:
Fetched 16.9 MB in 1min 55s (146 kB/s)
W: GPG error: http://
W: Failed to fetch bzip2:/
W: Failed to fetch bzip2:/
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
What should I do now?
Revision history for this message
|
#5 |
I ran 'sudo apt-get update' again after a reboot and received a different error. After that I ran the update command several more times to confirm that the error is consistent. The error:
Reading package lists... Error!
Fetched 2,979 B in 10s (293 B/s)
Reading package lists... Error!
W: GPG error: http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
E: Read error - read (21: Is a directory)
E: The package lists or status file could not be parsed or opened.
Help?
Revision history for this message
|
#6 |
Could not initialise the package information
An unresolvable problem occurred while initialising the package information.
Please report this bug for the 'update-manager' package and try to include the following error message:
'W:Duplicate sources.list entry http://
Revision history for this message
|
#7 |
ok run:
gksudo gedit /etc/apt/
comment out the 2 lines for the partner repo and save the new file, close gedit then run:
sudo apt-get update
Revision history for this message
|
#8 |
Didn't work.
Forget it, I don't have the time for this. I'll reinstall Ubuntu 12.04 and hope it won't happen again.
Revision history for this message
|
#9 |
I believe I have a similar problem:
apt-get update gives me this:
W: GPG error: http://
W: Failed to fetch gzip:/var/
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
How can I solve this?
Thanks!
Revision history for this message
|
#11 |
So I am really trying to be patient here and I know this is free stuff and free help and free... free... but hey is it not the goal to do a better job then MAC or Windows? I have had more issues with this Ubuntu and with snooty support people (I know your free help).
I tried #3 in this thread and right off the bat it dose nothing. @ the first line it just sit's there for a long time with nothing.
So I would appreciate the help this is what I get from my sudo apt-get update command. Oh I did the #3 fix then sudo apt-get update --fix-missing and got the same thing as with sudo apt-get update.
black@black:~$ sudo cp -arf /var/lib/dpkg /var/lib/
[sudo] password for black:
black@black:~$ sudo apt-get update --fix-missing
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:3 http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Get:4 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:5 http://
Hit https:/
Hit https:/
Hit https:/
Get:6 https:/
Ign https:/
Ign http://
Ign http://
Ign http://
Get:7 http://
Get:8 http://
Ign http://
Ign http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Get:13 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Ign https:/
Ign https:/
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://
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 2,145 kB in 7s (300 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
black@black:~$
I am really getting frustrated and I get snappy but I am aware it's not a hard issue so any help would be great. Oh I got a book on Ubuntu also seeing I have such a hard time getting answers so if it was an error then it was cause because I had to figure it out myself.
Revision history for this message
|
#12 |
lol, I'm starting to see why Ubuntu and free OS's are not doing well.
Revision history for this message
|
#13 |
Why so? Your issue was a duplicated line for a source and so YOU have modified the OS and caused the issue. Start adding and removing random keys from Windows. See how well it runs. Same thing
Revision history for this message
|
#14 |
hmm so there is something here I should have recognized? Like I said I see no answer just more comments that do nothing, but call me an Idiot basically. That's why. Actionparsnip. If it were Windows I could fix it myself seeing this is new to me I don't follow and all this is just wasting time and space.
You see a line there that's Duplicated? If so then maybe you should tell me that? Maybe you should get off your high horse and help rather then just filling space.
Revision history for this message
|
#15 |
Oh before you start in with more admonishments I have some issues that you have no reason to know about that prevents me from just sitting here reading line after line of nothing, if you can't help just move on.
I have realized there is no reason to continue wasting time so maybe you should also.