New to Ubuntu not to Unix. I am having issues with aptitude updates. Gives error unable to locate. When I look for the file manually I cannot find it either. It is looking for http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US. Is there a site that list all mirrors that carry the updates? I would like to find manually and adjust source.list file.
I have installed the latest server (Ubuntu 10.04). When I tried (including sudo apt-get update first followed by sudo apt-get install virtinst) I get Unable to locate the package virtinst. It also did it for a few others as well. The apt-get update command is successful (on the console it says it is Done). I have network connection (no proxy) and I am able to ping other systems at home and outside world. So I don't believe it is network issue.
I've noticed this happening on some servers that I manage. I'll be downloading updates around 300 kb/s - 500 kb/s and then out of nowhere it will drop to about 3 kb/s. It will stay here forever, if I let it. I then have to cancel (Ctrl-C) the updates and restart them. This happens over and over and over until I finally get the full download. Why does this happen?
Cannot install updates. Click on icon which says 65 updates available but update manager opens and is blank and frozen .Reboot and same results. apt-get install updates says Unable to locate package updates. Everything has worked perfectly upto now I am running Squeeze.
I am a total noob in the process of trying to build my own server. I installed Ubuntu 10.10 but when I did that I didn't have the computer hooked up with an ethernet or have any internet connection. During the installation process it was unable to set up DHCP, so I figured I would just do that later, somehow.
Anyways, I recently hooked up an ethernet cable from the server to another computer, which has internet.
I've been slowly working my way through the Server Documentation and am on the Networking chapter. It has given me the commands to install wireless-tools, ethtool, dhcp3 server and I've also tried to install gedit. Every time it gives me the error: E: Unable to locate package XXX
When I ran the sudo lshw -class network command I find that it recognizes both an ethernet interface as well as a wireless interface(my wireless adapter). BOTH of them say *-network DISABLED.
My goal is to enable both of those, but I am assuming I need to be able to locate the packages first. I installed the server edition using a USB pendrive. I still have the files on the pendrive, but I don't know how to make the server locate those files. I'm guessing it wants to access the installation files to locate the packages to install.
I installed a command line version of Ubuntu 10.10 using the alternate install disk. To suit my needs, I have to install the gcc C compiler in this environment. When connected under root, I enter the command: 'apt-get install gcc'. The error 'E: unable to locate package gcc' is then displayed on screen. how to install gcc? Is this package available from the alternate install disk or do we have to download it. If I dowbload a tar file, where should I copy it to to be able to have the install application see it?
I lost my ssh connection to Ubuntu 10.10 server during the configuration update stage of an aptitude full-upgrade for a few month's worth of updates.From the following ps ax list, can anyone tell me how I might reconnect to the screen which is prompting whether to keep the existing samba version, or use the distribution conf version?
Failing that, what's the safest sequence top kill these processes and start again? This time I'll remember to use screen to prevent connection loss.
I've been looking for an aptitude command to search for security updates. This information is being shown when running the screen. So far I reached to this command: aptitude search '~S ~VCANDIDATE ~Asecurity ~U' It looks like producing the correct results, but I still don't quite understand the how the filter (~S) command works.
After running "aptitude upgrade" I have been getting a message lately such as "There are x updates available, it is recommended to update your system". But, running aptitude update/upgrade again afterwards, aptitude ignores these supposedly available updates to the system. How can I clear up this situation?. I am using the latest Debian Squeeze distro
what would happen if aptitude needed to ask me a question, (like which config file to keep for a certian essential program, etc.). I don't think I've come across this problem yet, but I really wouldn't know. I do get the following lines on the screen with aptitude-gtk just about every day when I do squeeze updates and I wonder if it's not related to this same question. Does anyone know if aptitude-gtk is capable of asking you, the administrator, questions about a package that it's updating?
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
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.
It's trying to fix/complete failed installs but keeps encountering the same errors (error message below). I'm running basically Testing, but there are a few Stable and SID packages due to issues with the blasted nVidia legacy drivers. I've swapped out the video board with an ATI board so that is sorted, but now I can't do any updates. Hoping there is some way to manually override apt's determination to try to fix all broken packages whenever I do anything (install, remove, update, etc). A Google search of this error message didn't turn up anything recent. Any thoughts are welcome.
I am trying to install Photorec / testdisk I am entering this in terminal sudo apt-get install testdisk sudo apt-get install photorec For all these i am getting a message, "E: Unable to locate package testdisk" and similar message for Photorec. I tried this even for Foremost but i am getting same message. how do i get to open and work on these packages?
I am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.
I use web server apache use php fastcgi (Centos 5.2, apache 2.2.9 , php 5.2.5 and fcgi-2.2.4 ). I receive error : "The server encountered an internal error or misconfiguration and was unable to complete your request. contact the server administrator, firstname.lastname@example.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. I view log :
In Ubuntu 10.10 am trying to install Aptitude and have been through installing and un-installing but keep getting the same msg Failed to execute child process "su-to-root" (No such file or directory) how to resolve this issue.
I just changed (not upgraded, I made a clean install on a new hard drive) from 9.10 to 10.10 and I have a serious problem. I just can't install new packages. Neither apt-get nor synaptic can find any package. I either get a "E: Unable to locate package <package_name>", or "E: Package <package_name> has no installation candidate" For example when I type sudo apt-get install emacs23 , I get this output: Quote:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package emacs23 And the synaptics package manager only lists the packages I already have. I searched these forums and googled my error message, but I couldn' t find anything helpful. The only thing I know is that this is not a network/proxy problem, I am behind a proxy but I have set the http/https/ftp_proxy environment variables, and I have a working network connection, as I am actually posting from the same computer.