Ubuntu Servers :: "sudo Apt-get Update" Fails?
Aug 31, 2010after i type in "sudo apt-get update"i got lots of errs like:Code:W: Failed to fetch [URL]s associated with hostname)
View 2 Repliesafter i type in "sudo apt-get update"i got lots of errs like:Code:W: Failed to fetch [URL]s associated with hostname)
View 2 Repliessudo apt-get install ubuntu-desktop fails and has been failing for the last two days, I installed both the lto and the 10.10 newest, starts out OK and runs for about 5 minutes then finishes with many 'failed to fetch [URL] size mismatch issues. This is the first one after many installs over the last two years. Is there something going on with the US servers? On closer examination of running sudo apt-get update it seems to be fine till it hits the pool directory on the server, lucid main and lucid-updates are fine, breaks when it goes past those.
View 3 Replies View RelatedI wanted to installed transmission on my buntu server box 10.10 tonite so from my laptop top i ssh'd into it...which took an unordinary amount of time.. went to type in sudo apt-get install transmission half way through each word at the terminal prompt it would just hang...had to wait then it would recognize my typing and i could continue....pressed enter waited a long time; then noticed i coulnd't connect to the repos?
So i manually (as in sitting at the box not over ssh) tried to ping google nothing....sudo apt-get update....nothing....
- i restarted the machine twice
-sudo ifdown eth0 /sudo ifup eth0
sudo nano /etc/networking/interfaces made sure it said
Quote:
I have my router saved to assign 192.168.0.100 to the machines eth0 MAC of 00:14:2a:e9:15:0b so i can always use my webUI w/o having to guess my ip ifconfig shows my broadcast running i dunno i'm sooo confused and lost scared...a lil' cold....kinda hungry..pretty tired....
I'm on cli no gui anyone ever have this?
Quote:
I have a connection error when i try to use
sudo apt-get apache2 install
I'm running a virtual server with ubuntu server installed as the OS. The physical server is windows 2008.
I have configured the interface for a static ip code...
I have configured my resolv.conf so it points to the correct nameserver ip
When i ping both an ip or a hostname everything is OK
but when i run
sudo apt-get update
I just get a load of connection errors and i cannot install any packages
I am from India, and I tried to update my Ubuntu system today. Code: $sudo apt-get update The update failed because the connection to the India mirror timed out: Code: [URL] Could not connect to in.archive.ubuntu.com:80 (111.91.91.37). - connect (110: Connection timed out) I tried the update a few times, with the same result every time.
I had firestarter running at this time, and noticed that I would get new security events every time I tried an update. I checked the events list, and it turned out that the machine at the ip address 111.91.91.37 (the in.archive.ubuntu.com machine, to go by the above error message) had been trying to make connections to seemingly random ports on the machine every time I tried the update: see the attached screenshot. I then changed my repositories to the Main Server using Synaptic, and tried the update again (from the command-line). This time it worked without a hitch, and firestarter did not report any unwanted incoming connection. why is the India mirror trying to open connections that the Main server apparently does not need in order for me to do the update? Should I (we) be concerned?
Just got a sudo update from the update manager-does anyone know what this specific update does?
View 4 Replies View RelatedI have to do this to get my computer going and it fails.Also no apt-get update or entry to synaptic
View 2 Replies View RelatedI hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue
View 11 Replies View RelatedI am trying to update using Update Manager and I get this message: Failed to fetch "Failed to fetch [URL]..404 Not Found" My system is 64 days out of date now.
I have looked elsewhere for an answer and some others have had similar problems, but I have not found a reason for it happening, nor an answer. I wonder if anyone can help me please. I have been using Ubuntu for several months, can use the Terminal if I have the right commands to issue, but beyond that have limited knowledge of the system.
I'm having trouble updating. Using the update manager fails and I see the message:dpkg: parse error, in file '/var/lib/dpkg/available' near line 23288 package libbonoboui2-common': 'Conflicts' field, reference to 'libbonobous2-0': version contains ' '
I've tried
sudo dpkg --configure -a
and
[code]....
I have a CGI script that when called runs another script as a different user. Yet when the script does run I keep getting a permission denied in the logs and the script fails
In the sudoers file-
Defaults env_reset
www-data ALL=(charly) NOPASSWD=ALL
For the full question-
When looking at /etc/sudoers there is the defaults line that you can add things to. When doing a sudo -L so that I can see what I can put on that defaults line. Can an individual user have specific defaults? Ones that don't effect the rest of the people in /etc/sudoers?
when I launch Yast2 - Online Update, I get an error during the repository refresh that it could refresh the repository.Since it's easier to copy-paste - here is the output from 'zypper ref' with the same error:
Code:
Retrieving repository 'Updates for openSUSE 11.3 11.3-1.82' metadata [|]
Failed to download ./repodata/cefcc9d56264aa169f70a53c560ffc39cb6af575-deltainfo.xml.gz
from http://download.opensuse.org/update/11.3/
A[code]...
I am having issues with Update Manager after cancelling an Update.The Update Manager shows a number of required updates, but when I click on Install Updates... Nothing happensWhen I launch sudo dpkg --configure -a in a terminal I receive the following message:dpkg: status database area is locked by another process.On another forum i saw something regarding a gksu.lock file that needed to be deleted... but I can't find any such file....If I try to launch update manager via a terminal: sudo update-manager I get the following error:
requiredDownload could not be calculated: E:Unable to parse package file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_binary-amd64_Packages (2), E:Unable to parse package file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_binary-amd64_Packages (1), E:Unable to parse package file /var/lib/apt/lists
[Code]....
I tried to execute sudo apt-get update in the terminal today, and I got the following output:
Code:
joseph@ubuntu:~$ sudo apt-get update
[sudo] password for joseph:
Get:1 http://dl.google.com stable Release.gpg [189B]
Hit http://us.archive.ubuntu.com karmic Release.gpg
Ign http://us.archive.ubuntu.com karmic/main Translation-en_US
[Code]...
I'm getting an error when typing in
Code:
sudo apt-get update
I receive:
Code:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
I'm running Umbuntu 10.10 and am quite new to all this
I can't check any update and can press button install Updates. I have this warning message. If I use terminal for update, I have this error (sudo apt-get update):
GPG error: [URL] natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 638ABCA0FA3A1271
What does Ign means when I am running sudo apt-get update:
Code:
bas@ubuntu-lt:~$ sudo apt-get update | grep Ign | grep xbmc
Ign http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ lucid/main Translation-en_US
When I go to terminal and run
Code:
It runs for a while, then at the end it gives me a error message that says:
Code:
Now what am I supposed to do to fix this problem?
I just got this error message when Update Manager tried updating:
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:
'E:Type 'sudo' is not known on line 56 in source list /etc/apt/sources.list'
I've been using Ubuntu for awhile, so I know my way around some stuff, but I'm completely lost on what to do here.
I am not able to install any package through sudo apt-get install <package name> and when I run sudo apt-get update , I am getting the below output .
onadmin@ubuntu:~$ sudo apt-get update
Err http://us.archive.ubuntu.com maverick Release.gpg
Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
[Code]...
Everytime I run sudo apt-get update, it updates most of my sources, and then asks for me to insert the installation disc, once I have it finishes. Do I have to insert the disc every time? it won't finish updating without it..
View 2 Replies View RelatedRecently sudo apt-get update (and all other apt-get commands) has resulted in the error:
Quote:
I have apt installed, and I don't know of any changes I've made (I booted a Freebsd install dvd but I didn't end up installing (i'm looking at putting it onto an external hdd).
Output of sudo find / -name "apt-get" -print:
Quote:
Quote:
Quote:
I still seem to be able to install/update from update manager and synaptic, but I rely on command line for apt-get update when I'm not at uni (which runs through a proxy).
Can't seem to update apt-get. Can anyone help with this? I've attached a screenshot of the output of
Code:
sudo apt-get update After trying this once, I decided to verify that there was an internet connection. I pinged some IP addresses and almost each ping went perfectly. If that can be ruled out, what is the next step?
On a Xp host I installed last version of VirtualBox and I created a 9.10 Ubuntu 'guest'.While I can surf the net, I cant 'sudo apt-get update' nor do a 'reload' from 'Synaptic Package Manager'.
PS Here are some facts:
<<
Host:
PC:
Thinkcenter 9640-7BG
Network adapters:
[Code]...
I recently installed Xubuntu (9.10) in my computer, but... I have been having intermitent hard disk problems, and so I decided to google a little and after reading this:
[URL]
I did use Synaptic to search for smartmontools and then install it.
Synaptic complained that it couldn't autenticate the packet, but I figured this was happening because... this is not an application supported by Canonical? I clicked and installed the packet (well, in fact, I *think* it has installed two applications, not just one).
Then later, I saw one of those arrows at the top right of the screen, and clicked it to install updates. Synaptic told me to update SUDO. Hmm... serious. And then even more: it told me that it couldn't autenticate it I stopped the installation and registered at these forums.
And more: before posting, I tried to reproduce the "error" (and again, stop before installing the "suspicious" SUDO update) but Synaptic now autenticated it troubleless and installed it.
Well, now I have a LOT of questions:
1. Where do I place this post?. Security?. Hardware problems?. Update and installation? (Linux noobiness?)
2. my hard disk?. I've read somewhere that an application called "fsck"
3. What may have happened with Synaptic?. Why wouldn't it autenticate a SUDO update?
4. Have I done something wrong?. Something unrepairable?
5. Can I trust the SUDO version that now I have installed in my system?
6. How could I check what has Synaptic exactly installed?. Is there any log file anywhere in my system?
can't cd to root acount /home in terminal - sudo cd /root fails?
View 3 Replies View RelatedWhen I do 'sudo apt-get update' I get
Sources
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/mirror.cs.umn.edu_ubuntu_dists_jaunty_universe_bin ary-i386_Packages
E: The package lists or status file could not be parsed or opened.
I'm having a problem with this command: sudo yum update
I get the error: "Loaded plugins: presto refresh - packagekit
error:no such table: packages.
I created a group using vi /etc/sudoers
saved it using :wq!
but can't get it to work.
Previously on 10.10 "sudo update-grub" took 2-3 seconds.
I upgraded to 11.04 and it now takes 10 - 15 minutes.
Is unity generally much slower than GNOME?
I have a set of servers that I have to manage and I thought that pssh (parallel-ssh) would be a great tool for the job. Except that I can not see how to use that with 'sudo'. I can set password-less ssh between multiple servers for a given user. But I cannot see how to do administrative work if I cannot call SUDO as it requires a password to be entered firstly.
View 5 Replies View Related