Ubuntu :: Upgrade To 10.4 Fails Package 'hostname' Is Marked For Removal?
Jul 18, 2010
When I try to upgrade from 9.10 to 10.4 the upgrade fails. I am not sure whats going on. I looked at the logs /var/log/dist-upgrade and grepped for hostname and found this:
apt.log:Investigating hostname apt.logackage hostname has broken PreDepends on upstart-job apt.log: Considering upstart 12956 as a solution to hostname 5103 apt.log: Removing hostname rather than change upstart-job main.log:2010-07-18 22:49:07,574 DEBUG The package 'hostname' is marked for removal but it's a ESSENTIAL package main.log:2010-07-18 22:53:01,415 ERROR Dist-upgrade failed: 'The essential package 'hostname' is marked for removal.'
I started an upgrade from Ubuntu 8.04 to 10.04 and it stopped with the message: Ubuntu desktop is listed to be removed but is on the removal blacklist. Then it restored back to 8.04. I don't know how to resolve this - it would be alright to remove the old Ubuntu desktop.
I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.
Here's the not-so-quick-and-dirty description of the situation:
I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.
I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).
The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.
Every machine has an equivalent resolv.conf:
As an example, I will show the output of a handful of my development machines:
I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:
columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200
Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL: - Ping by IP address - Ping by hostname - ssh, scp, vnc, etc by IP addess
Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.
Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.
Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.
Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.
when I have updated my ubuntu 10.10 to 11.04, many PPA have been disabled & I can't use them right now. I have checked about them in the repositiries & they are marked as diabled since updated to naty(11.04)...
So my question is, can I enable these repositiries(PPA) ?? Is it safe to re enable them or not ?? if not... what should I do now ?? I have many PPA that have been diabled, such as: rhythmbox,wine,weupd8 team ... much more...
I hope there is a soulution with that, since each time I upgrade my computer to the new version I'm facing this issue..
I have installed the newest version of Peppermint Ice (Ubuntu derivative) on my Eee PC 701's internal HD and would like to get some more space on the drive (2GB total) by removeing packages like hunspell-en-ca, but synaptic warns me that language-support-writing-en will be removed. How can I force removal of this and similar packages like myspell-en-au, without uninstalling English language support?
I just installed VLC player 1.1.2, but during installation it says it requires a whole bunch of other packages to be installed as well (dependencies is the word for it I think). So I installed them. So if I want to remove VLC player 1 day, and I mark it for complete removal, will the dependencies be uninstalled as well?
I have noticed that after I uninstall a package from my system the hidden files in my home directory are still there. For example I used to have an application called proxychains installed. But then after I uninstalled it with the Ubuntu Software Center there was still a .proxychains folder in my home folder. Is there a way to remove all these files? Also are they stored anywhere else except home? I ask because I would like to clean up my system and I am O.K. with reconfiguring my applications if I do decide to install them at a later date.
I am new to Ubuntu. I am using Ubuntu 10.10 I tried to install software (Gmail Notifier) through 'Ubuntu Software Center' I don't know why I am getting following error message :
(Reading database. 95%dpkg: unrecoverable fatal error, aborting: failed to read on buffer copy for files list for package `libtaglib2.0-cil': Input/output error Even if I tried to remove any software I am getting this error. Also when I want to change 'Visual Effects' to 'Normal' or 'Extra' through 'Appearance Preferences'.first it shows 'searching for available drivers' and then the message :
I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:
1) Is there a way to force the removal without it caring about missing packages?
-OR-
2) Is there a way to reload which packages are installed by checking which files exist, etc?
I need to determine which package is causing every upgrade installation or removal of software to fail in Ubuntu 10.04 I have had a problem since allowing some non-supported upgrades (not certain what they were for) in 9.10 (FAIL!) I hoped that upgrade to 10.04 would resolve the issue (I know FAIL again!). I am guessing I can;
a) Remove the offending package b) Repair the missing/damaged 10.04 files c) replace the 10.04 OS
I am running a dual boot one drive system with XP and Ubuntu each in their own partition and a 3rd partition where data resides
i get this error whenever i update or install/uninstall a package Package operation failed The installation or removal of a software package failed.
installArchives() failed: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN.ISO8859-1" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory perl: warning: Setting locale failed.
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
I dont know how to put this that somobody would understand my problem but here we go. I have problem like said in title.I am unable to upgrade my kernel. Sunaptics says that I have 2.6.35-28 installed. I tried to reinstall 2.6.35-28 via synaptics but it gives me error.
Thats what uname -a says:
pekka@pekka-laptop:~$ uname -a Linux pekka-laptop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
Tried to install 2.6.35-27 via terminal thats what I get:
Code: pekka@pekka-laptop:~$ sudo apt-get install linux-image-2.6.35-27 [sudo] password for pekka: Reading package lists... Done Building dependency tree code....
dpkg: error processing linux-image-2.6.35-25-generic (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.35-25-generic E: Sub-process /usr/bin/dpkg returned an error code (1) pekka@pekka-laptop:
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
I am trying to upgrade RH9 to F10. I have downloaded dvd iso image i386. The SHA1 integrity check passes. The installer fails media check due to "errors". I did an independent verification of the DVD and zero errors found. Download was from Fedora's own torrent, so files should be verified anyway. If I bypass the media check I get the message : Running anaconda 11.4.1.62 the Fedora system installer - please wait.....
I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.
I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".
I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.
Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".
How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.
I'm trying to make an SSH script for my place of employment. This script, I want to go out to the server hostnames we have specified (in another file) and change a users account password. We use Kerberized telnet, so if telnet root hostname fails, I want it to use ssh username hostname and use the old password (specified). If both fail, I want it to ask the user what the port should be and input the port in the ssh command.
But I'm having a issue having it try telnet root hostname and if it fails then, try to ssh in, I have no clue how to have it proceed. Is it an if statement? Here's the telnet failed message: telnet: Unable to connect to remote host: Connection refused
Using Lubuntu 10.10. I uninstalled Apache Server (it was once installed). But the update manager is cites many new Apache updates that I need. But again Apache is not installed anymore. Synaptic says it's not installed. I have a checker for orphaned packages it says nothing about Apache. Why does the updater say this? Maybe there's a "residue" of Apache somewhere?
I have two computers running Kubuntu 9.10 (using the upgrade paths from 8.04 and so on) one running 32bit and the other running 64 bit and I have the following problem: On the 32bit version installing the repository package for Digikam, everything works just fine. On the 64bit version I have two problems:
First digikam won't start due to the following error:
digikam: symbol lookup error: /usr/lib/kde4/digikamimageplugin_freerotation.so: undefined symbol: _ZN7Digikam11ImagePlugin17setActionCategoryERK7QSt ring
I'll have to delete all digikamplugin files from /usr/lib/kde4 and then it works from the command line. It appears that everything is working as it should.Second, starting digikam from Lancelot does nothing.
I have Ubuntu 10.10 AMD64 installed. When I try to start the Synaptic Package Manager it attempts to start and then quits. I have tried running it through terminal and get the following output.
roy@Bastard:~$ sudo synaptic sudo: /etc/sudoers is mode 0640, should be 0440 sudo: no valid sudoers sources found, quitting
I get the same output for sudo apt-get update & sudo apt-get upgrade.
I think there is a problem with the sox package that comes with Slackware 13.1.I would appreciate any advice. I'm using the same file, 1.wav, in both cases. The output of file 1.wav is1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 HzOn 12.1, I can runsox 1.wav -e stat 2> /tmp/stat.txt
I was having a problem with a fresh 11.04 install and the VPN software I use for work. I found the fix was to upgrade the software, so I downloaded an RPM, converted it to .deb and installed it via dpkg. The install worked and the VPN software now works, but Package Manager says I have a broken package and wants to 'upgrade' to the older broken one. How can I fix this without breaking my VPN SW again?
When I try to add software sources (specifically those for Scratchbox, but I get the same error with everything), I get an error message: "http://http not found". Obviously that is not a valid APT line and I have no idea what it is doing in my software sources. How do I take it out?
after a while of using Gnome with Fedora 12, I installed Openbox and started the configuration process. Everything is pretty much just the way I like it, but when I open the package manager and try to install something, it says "Authorization failed: you have failed to provide proper authentication. Please check any passwords or account settings" I'm sure it's because I forgot to add something to my autostart.sh, but I'm not sure exactly what...
I installed Fedora 12 inside VirtualBox and trying to make Software Update. It fails with different messages which looks like:Could not add package update for ..Package name may differ. Internet connection is working. Is there another way to update the system?
I am brand new to openSUSE (coming from Fedora then Kubuntu then Linux Mint) and I must say I am very impressed. Unfortunately I am also a C# developer and I need Mono (and more specifically MonoDevelop) to function correctly. I installed MonoDevelop from YaST and started with the simple "Hello World" command line project that is included by default. I then added Tarball packaging to the solution and attempted to build the package. It spit out the following error:
"Package creation failed. Object reference not set to an instance of an object"
I then tried double clicking on the Tarball package in the solution and it gave me an Unhandled Exception error dialog with a stack trace. Does anyone know what could be causing this problem? It's as if I am missing a required package or something. I have tried to install automake but that didn't change anything.