Ubuntu Servers :: 10.10 - Can't Sudo Apt-get Update

Mar 16, 2011

I 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:

View 8 Replies


ADVERTISEMENT

Ubuntu Servers :: Connetion Errors For Sudo Apt-get Update / Solve This?

Mar 24, 2011

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

View 2 Replies View Related

Ubuntu Servers :: "sudo Apt-get Update" Fails?

Aug 31, 2010

after 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 Replies View Related

Ubuntu Security :: Sudo Apt-get Update The Update Failed Because The Connection To The India Mirror Timed Out

Jun 1, 2010

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?

View 3 Replies View Related

Ubuntu Security :: Sudo Update From The Update Manager?

Feb 27, 2010

Just got a sudo update from the update manager-does anyone know what this specific update does?

View 4 Replies View Related

Ubuntu :: Launch Update Manager Via A Terminal: Sudo Update-manager?

Jan 19, 2010

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]....

View 9 Replies View Related

Ubuntu :: Cannot Run Sudo Apt-get Update?

Mar 19, 2010

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]...

View 9 Replies View Related

Ubuntu :: Sudo Apt-get Update Error?

Feb 20, 2011

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

View 9 Replies View Related

Ubuntu :: Sudo Apt-Get Update (GPG Error)

May 22, 2011

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

View 3 Replies View Related

Ubuntu :: What Does Ign Means When Running Sudo Apt-get Update

Aug 15, 2010

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

View 9 Replies View Related

Ubuntu :: Error When Running Sudo-apt Get Update

Oct 17, 2010

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?

View 7 Replies View Related

Ubuntu :: Error With Update Manager - Sudo Not Known

Oct 31, 2010

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.

View 4 Replies View Related

Ubuntu Installation :: Sudo Apt-get Update Not Working?

Jan 10, 2011

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]...

View 5 Replies View Related

Ubuntu :: Sudo Apt-Get Update And Install Disk?

Feb 19, 2011

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 Related

Ubuntu :: Sudo Apt-get Update - Resulted In The Error

May 7, 2011

Recently 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).

View 8 Replies View Related

Ubuntu Installation :: Sudo Apt-get Update Failure?

Aug 23, 2011

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?

View 1 Replies View Related

Ubuntu Installation :: VirtualBox On XP Host - No 'sudo Apt-get Update'?

Feb 3, 2010

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]...

View 9 Replies View Related

Ubuntu :: Xubuntu's Synaptic Can't Authenticate Sudo's Update

Mar 2, 2010

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?

View 8 Replies View Related

Ubuntu :: Sudo Apt-Get Update (Reading Package Lists Error)

Mar 25, 2010

When 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.

View 2 Replies View Related

Ubuntu Installation :: Error Getting Sudo Yum Update To Work / Resolve This?

Jul 12, 2010

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.

View 3 Replies View Related

Ubuntu Installation :: 11.04 Unity - Sudo Update-grub So Slow

May 3, 2011

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?

View 4 Replies View Related

Ubuntu Servers :: PSSH - How To Use Sudo

Oct 24, 2010

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

Ubuntu Servers :: Can't Sudo When X Forwarding

Jul 13, 2011

I'm trying to set up my mythtv backend on a headless box. The many tutorials out there tell you to run mythtv-setup from a machine with a display by x forwarding through ssh.

Code:

ssh -X username@ipaddress /usr/bin/mythtv-setup

The x forwarding works fine except that the first part of the mythtv-setup requires you to stop the mythtv-backend process which you have to do as root. It brings up a box asking for your password (much like is would if you just typed sudo xxxxxxx in the terminal) but it won't accept the password. Looking in the auth log it seems that it can't authenticate

Code:

Jul 13 11:21:08 server su[21869]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=administrator rhost= user=root
Jul 13 11:21:10 server su[21869]: pam_authenticate: Authentication failure

[code].....

Now I know that my account (administrator) can have root privileges because I can sudo xxxx to my hearts content via ssh in the terminal, but it seems to not work when it's being requested from a forwarded X window....

View 2 Replies View Related

General :: Sudo Apt-Get Update And Bash Script

Aug 9, 2011

If I call a bash script with sudo, for example:
sudo bash script.sh
Do I still have to use sudo inside the script in cases like this:
sudo apt-get update

View 2 Replies View Related

Ubuntu Servers :: JeOS 8.04 And Sudo Tab Completion?

Mar 3, 2010

how to get tab completion working with sudo in JeOS (Ubuntu Hardy) 8.04? Assuming I have the command '/usr/bin/svnadmin'. As a normal user I can type:

Code:
svnad + TAB
and it auto-completes as 'svnadmin'. If I type:
Code:
sudo svnad + TAB
nothing happens. My 'echo $SHELL' is '/bin/bash'. I tried enabling the following in '/etc/bash.bashrc':
Code:
if [ -f /etc/bash_completion ]; then

[Code]...

auto-completes as I'd expect. I think I once read that there's some kind of configuration variable for sudo that causes it to use a 'more secure' path rather than the current path in the user's environment. I can't find any info on it though. I'm executing the commands from my home directory.

View 5 Replies View Related

Ubuntu Servers :: Sudo And Ssh Not Working After Upgrade?

Jul 27, 2010

I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.

Fortunately I have a root account and can login as root or su to root.

I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.

I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.

auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.

View 3 Replies View Related

Ubuntu Servers :: Disable 'sudo' For All Or A Particular User And Allow Only 'su'?

Jul 30, 2010

How to disable 'sudo' for all or a particular user and allow only 'su'?

View 6 Replies View Related

Ubuntu Servers :: Set Sudo Commands Restrictions

Nov 7, 2010

does anyone know how to set restrictions on the commands a user can run as sudo? i want to make it so they can only halt the system.

View 1 Replies View Related

Debian :: Autologin And Update / Without The Password(s) / Su/sudo To Execute?

Oct 28, 2010

I have succesfully installed Debian with gnome-core, iceweasel and other useful packages and also followed this guide to autologin and start X. I noticed that the sudo chmod +s /sbin/halt and adding /sbin/halt
in ~/.bashrc made Debian refuse me to log out (from X) and 'log out' turns off the computer insted.Removing /sbin/halt from .bashrc turned everything to as i want it. Should I "repair" or remove something I created with chmod +s command or should I leave it as it is?

Also I would like apt-get(or aptitude) update to run after login (and before startx), so i added sudo apt-get update to .bashrc but it will prompt me with password. Is there someway I could do this without the password(s) which su/sudo needs to execute? This is not so important but it would be very nice to update the system on startup.

View 5 Replies View Related

General :: Sudo Aptitude Update Command Not Found?

May 7, 2011

trying to get wine working was reading the tutorial-

"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-

"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:

Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras

but when i try and run in the terminal i get "command not found".

using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved