Ubuntu Servers :: Sudo Apt-Get Install Fails (Size Mismatch)
Dec 10, 2010
sudo 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
ADVERTISEMENT
Sep 9, 2010
I am trying to get apt-get to work on a server thats behind a squid proxy server.I have added exections in squid.conf to allow all on [URL]..apt-get can find updates but when it try's to download/install I get
Code:
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb Size mismatch
if I
Code:
wget http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb
it works..
View 1 Replies
View Related
Feb 21, 2011
When I run df command, the sum of free and used space doesn't tally up to total space. Now I found an explanation in this thread: URL...The amount of "reserved" space seems a little too high as OP of the thread had commented, but may be that's what needed. Now my question is is there a way to change/specify this amount of "reserved" space manually?Also is there a way where you can see the actual disk usage for every mounted partition including the hidden "reserved" space? Because sometimes this mismatch makes the output of df very confusing!
I am attaching output of df, and fdisk from my NFS server. The amount of reserved space seems to be close to 5% of the total partition size.
View 3 Replies
View Related
Jun 19, 2011
I have Ubuntu 10.10 installed and a few weeks ago I tried upgrading to 11.04 using "Update Manager" BUT I got the following error after a few hours of fetching all the files from internet except for one
Code:Could not download the upgrades
The upgrade has aborted. Please check your Internet connection or installation media and try again. All files downloaded so far are kept.
Failed to fetch [URL]
I thought there's something wrong with the internet connection in spite of that everything else works well.. I tried upgrading in different times in different days, I redid the process again today and I got the same error again. Is there any other way to upgrade or ignore this package?
View 7 Replies
View Related
Nov 29, 2010
When I try to update my software through update manager, I get this error:
W: Failed to fetch [URL] Size mismatch
As a side note, when I enter Update Manager, it does not show 10.10 as an available update. I have checked my settings. I am quite kurfluddled by all of this.
View 7 Replies
View Related
Mar 16, 2010
I've just installed an ubuntu 9.10 server at my office and configure apache, php and mysql without problems.
Now i need to share some directories in order to wed developers access to the websites files.But when I try to share, ubuntu tries to install samba services, and I keep to get those errors:
"W: Failed to fetch url Size mismatch
W: Failed to fetch url
Size mismatch"
View 6 Replies
View Related
Jun 15, 2010
this is at the root of the problems I'm about to describe: Whenever I try to upgrade my Debian installation, I have repeated "size mismatch" errors that necessitate restarting the upgrade process. Since I'm using Debian Squeeze there are lots of upgrades to be done every week. Today, for instance, because I've not upgraded for a few weeks I have to download over 300MB of files to complete the upgrade. However, because of the size mismatch problem this download may well turn into something between 1GB and 2GB, as I repeatedly have to re-download files that were successfully downloaded in the last failed upgrade. What with my ISP limiting me to 7GB per month, I'm finding that merely keeping Debian up to date is using up most of my allotted bandwidth.
I've tried setting the Aptitude preferences not to "remove unused packages automatically", and not to "remove obsolete package files after downloading package lists", but for some reason I still find that files I downloaded in the last failed upgrade have to be downloaded again (and again, ...) whether anyone either knows how to avoid the package size mismatch problem (I can't change my ISP, which has a monopoly on providing internet to my area), or alternatively knows how to set Aptitude not to forget the packages it has downloaded successfully during each failed upgrade, thereby allowing me to avoid such a huge bandwidth usage on my frequent upgrades.
View 14 Replies
View Related
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
May 22, 2011
I keep getting a very frustrating error after reinstalling 11.04 on a 64-bit server:
Code:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch
which follow
Code:
bzip2: Data integrity error when decompressing.
[Code]...
I originally installed 11.04 on this system with the same disk so I'm confused as to what is happening. I have tried using different CD's and even installed of a USB. The memory test of the installer came back okay. The box has two PCI NICs that are recognized and functioning. The only package I have installed is openssh as this is a headless box. What makes this even more odd is that I have a newly installed 32-bit 11.04 server with the same procedure on the same network and it does just fine.
I hope I have been thorough enough in my search and investigation that someone can point me in the right direction. After reinstalling 3 times I am at a loss and I know 11.04 can run on my box without problem (as it did before the reinstall).Tonight I'm going to reinstall with the built in interface unplugged and the two NICs removed, I'm hoping this will prevent apt from bricking itself during the install, which is the only think left I can think of. I suspect the issue has to do with the nic despite it appearing to function properly I am unable to uncompress the archives in question on, my workstation, when they are downloaded on the sever but can successfully uncompress the same files when downloaded on the workstation.
SOLUTION: I pulled both NIC's and enabled the integrated interface and it is all working. I wonder why they didn't work though...
View 2 Replies
View Related
Jun 4, 2010
I ran the following command:Code:sudo apt-get install sslIt is suppose to give me SSL support for Apache 2.2, but I couldn't find any package information about it atA search only returns ssl-cert package.So what is in the ssl package for Lucid 10.04 LTS? How do I know what package contains what in the future?
View 2 Replies
View Related
Jan 24, 2010
I've been searching around the net how to do this but I can't find any clues. I did this:
Code:
sudo apt-get install lamp-server^
But now I want to remove it. I've read this: http://ubuntuforums.org/showthread.php?t=510403
[code]....
View 7 Replies
View Related
Jul 20, 2010
Attempting to install 10.04 Server on an IBM Series X 232 server. Its an old server with dual p III's, 4 small drives and an adaptec controller with a RAID 5 array. The server is currently running CentOS 5.5.
The CD I am installing from is known good. I verified it after I wrote it and verified it again during the install process. The system boots from the CD, I accept the defaults, then it fails at "adding additional components".
View 1 Replies
View Related
Mar 8, 2010
Ubuntu Server 8.04. I have 2 servers in the same rack, on the same subnet, using the same DNS servers and build with the same media. On one of them the following command fails
Code:
apt-get install squid
On the other on the package was installed with out any problems. I have checked the /etc/apt/sources.list files and they are identical. Actually, it could not find mutt either.
View 5 Replies
View Related
May 17, 2010
I'm installing 10.4 x64 on a Dell PowerEdge R610 RAID 1 and the install goes fine until I have to reboot the finish it. On reboot after about a minute it gives the error
Code:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline/
-check rootdelay= (did the system wait long enough?)
-check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/mysql1-root does not exist. Dropping to shell!
what to do and my co-worker who knows a little more about Linux can't get it to let him check any of the above common problems.
We're tried letting GRUB manually configure itself at the end og the install before we reboot and we've also pointed it to /dev/sba partition which is what should be the boot partition.
EDIT: in the code tag it's ALERT! /dev/mapper/mysql(one)-root.... the L and 1 look the same
View 9 Replies
View Related
Feb 26, 2011
i'm trying to build a web server but I keep having a problem. Everything loads fine until I get to the "Install base system" part of the installation and it puts up a red screen warning me that the install has failed. My uncle gave me his ubuntu discs and even some different hard drives, but I keep getting the same problem at the same point of the installation. Here is the rundown of everything i did.
System #1 -
ASUS P5G41-M m/b with 4GB memory
Intel Core 2 quad q9300 cpu
two western digital 640GB hard drives
I was testing it out to run a raid 1 just to learn how to make a software raid array. its my first try at making a raid array. The first time i used ubuntu server 10.04 32bit and the system failed at the install base system point. I then used boot n nuke to clean the drives and tried 10.04 64bit. it failed at the same exact point. my uncle gave me 2 western digital 1.0TB hard drives and I tried again. I got the same results. At that point i gave all the hardware back to my uncle and he gave me a server board to try out because he bought it and hasnt touched it. so I built a second system.
[Code]....
View 2 Replies
View Related
Feb 26, 2010
I'm using the RAID1 setup, which is configured in the BIOS, as it is a HP Proliant server. i have 2 500GB hard drives configured in a mirror. when booting the install, it recognises this, and deals with it fine.
The problem is, when it gets to the section of installing the grub2 boot loader, it just stops and gives me the "ubuntu installer main menu" where if i select grub boot loader install it just loops back, and if i select LILO installer, it errors, saying an installation step failed.
It has the option to skip installing boot loader, but then, can i get it to boot a different way? can i boot manually into the server install and then install GRUB and hope it works? can i install grub1 rather than grub2?
View 5 Replies
View Related
Nov 13, 2010
I 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 Related
May 16, 2011
I downloaded the Xubuntu 10.04.2 Alternate Install CD ISO file from http://mirror.anl.gov/pub/ubuntu-iso...10.04/release/
When I checked the md5sum of the downloaded file, however, there was a mismatch.
The md5sum given at both http://mirror.anl.gov/pub/ubuntu-iso...elease/MD5SUMS as well as https:[url].... is 209cfc88be17ededb373b601e8defdee *xubuntu-10.04.2-alternate-i386.iso but running the command,
Code:
md5sum xubuntu-10.04.2-alternate-i386.iso generated the following, obviously different checksum for me:
098674ad5a59f0115030c5c0c3973899 xubuntu-10.04.2-alternate-i386.iso
(It also took unusually long to generate the checksum- around thirty minutes.)
Is it possible that the file was corrupted or tampered with on the server?
View 3 Replies
View Related
Sep 1, 2011
Ive been experiencing problems with my squid3 recently, i am using 10.04.3 LTS. Configured squid as always have been configuring since 8.04.04, but its not working as it should be.Ive been having issues with bz2 files, in my LAN when i try to do an apt-get update, it just says some indexes could not be downloaded cause of a sum hash mismatch.If you check squid log, for that kind of file it saysTCP_REFRESH_UNMODIFIED/206 Google around i read thats ssquid cache keeppin the files more than usual, so i add this hoping to solve the problem:refresh_pattern -i .bz2$ 0 0% 60 override-lastmod refresh-ims override-expireI dont know if thats well written or not, but it doesnt have solve the problem, and now squid log shows,TCP_REFRESH_UNMODIFIED/304but the same behaviour of the hash sum mismatch, please if someone could throw a ligth in here. The only fix to this problem so far is deleting all cache and recreate it every morning, which is far from a solution.
View 1 Replies
View Related
Jul 14, 2015
Lately I have noticed when I am trying to install something I have been getting 'Hash Sum mismatch'
Here is an example when I tried to install Calibre:
root@V-debian:/etc/apt# apt install calibre
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]....
View 10 Replies
View Related
Mar 27, 2009
I 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 Related
Jun 11, 2010
I was creating an OpenGL+GLUT+Perl Simulator, and I got this error on starting it:
Error: API mismatch: the NVIDIA kernel module has version 195.36.15, but this NVIDIA driver component has version 195.36.24. make sure that the kernel module and all NVIDIA driver components have the same version. The app still works fine, but I have no clue what to do about this.
View 1 Replies
View Related
Mar 18, 2010
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?
View 1 Replies
View Related
Jul 25, 2011
can't cd to root acount /home in terminal - sudo cd /root fails?
View 3 Replies
View Related
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
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
View Related
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
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
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
Jul 30, 2010
How to disable 'sudo' for all or a particular user and allow only 'su'?
View 6 Replies
View Related