Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-05-2015, 03:41 PM
|
#1
|
LQ Newbie
Registered: Feb 2012
Location: Yerseke, The Netherlands
Distribution: Kubuntu 12.10
Posts: 17
Rep: 
|
held packages after Xubuntu desktop install
Hey y'all, I hope there's someone to help me with this issue, because it's causing me slight headaches...
A while ago I decided to convert from my former Kubuntu installation to Xubuntu. I wanted something lighter, tighter and faster. To migrate from Kubuntu to Xubuntu, I used a post on the linux.org forum:
http://www.linux.org/threads/convert...us.5079/page-1
When I followed the first couple of lines given in that article post, all went well, but for the fact that Kubuntu was never really removed and/or auto-cleaned. Especially the command
Code:
sudo apt-get auto-clean
never really seemed to work well, The message I got was:
Code:
E: invalid operation auto-clean
or something along those lines (I forgot to note, sorry).
I left it as it was and continued with purging (Kubuntu apps) and auto-cleaning, following the code given in the abovementioned post. I checked the launcher and many of the Kubuntu application continued to exist there. Also, when Xubuntu was started, I could still choose between KDE plasma desktop and Xubuntu session. So I did one or two reboots and still they were there. I tried to auto-clean once more in the evening. Then something happended that I did not understand: I saw lines flashing by telling me that several apps were being removed, but among those many apps had either the letter "x" or downright "xfce" in their names.
After a reboot, I still could choose between KDE and Xubuntu, but Xubuntu could not run "xfce-4", and then gave me a message that "GNOME" could not be found. KDE still worked, so that's why I'm able to write this. In the meantime, I tried to install Ubuntu desktop (just to try if this gives me trouble) and this seems to work fine. However, when I tried to update and then upgrade either the recently installed Ubuntu or the old Kubuntu installation, the process does not run completely because I have "held packages". This leaves me a bit in a loop, chasing my tail.
When I try now to initiate Xubuntu from the login screen, I get the message:
Code:
:unable to launch "startxfce4" X session --- "startxfce4" not found; falling back to default session
Clicking "okay" makes me end up in a totally empty Ubuntu desktop, without anything at all.
ADD.1
After trying to upgrade from 'Precise' to 'Trusty' again in Kubuntu GUI, I get the following message:
Code:
W:Failed to fetch http://ppa.launchpad.net/nvbn-rm/everpad-usc/ubuntu/dists/trusty/main/source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/nvbn-rm/everpad-usc/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead
I then have the choice of reporting a bug (redirecting me to the Ubuntu One page) or to close the dialogue, after which the upgarde is aborted
Ideally, I would like to have a Xubuntu environment running with nothing else. But as it is, I have no way out. Does someone out there have any idea what could have gone wrong and/or how to solve this step by step ? I have a feeling it's possible, but will take a lot of steps... I'm no newbie anymore, but definitely no veteran either, so please go easy on me. Let me know if you need more specific info, so I can look it up. Thanks in advance !
Last edited by Nederjaard; 01-05-2015 at 04:18 PM.
Reason: Tried another upgrade to 'Trusty Tahr'
|
|
|
01-05-2015, 09:27 PM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Nederjaard
Hey y'all, I hope there's someone to help me with this issue, because it's causing me slight headaches...
A while ago I decided to convert from my former Kubuntu installation to Xubuntu. I wanted something lighter, tighter and faster. To migrate from Kubuntu to Xubuntu, I used a post on the linux.org forum:
http://www.linux.org/threads/convert...us.5079/page-1
When I followed the first couple of lines given in that article post, all went well, but for the fact that Kubuntu was never really removed and/or auto-cleaned. Especially the command
Code:
sudo apt-get auto-clean
never really seemed to work well, The message I got was:
Code:
E: invalid operation auto-clean
or something along those lines (I forgot to note, sorry).
|
The command should be "sudo apt-get autoclean", but this is not in anyway relevant to your problem. That command simply removes cached package files for obsolete packages.
Quote:
Originally Posted by Nederjaard
I left it as it was and continued with purging (Kubuntu apps) and auto-cleaning, following the code given in the abovementioned post. I checked the launcher and many of the Kubuntu application continued to exist there. Also, when Xubuntu was started, I could still choose between KDE plasma desktop and Xubuntu session. So I did one or two reboots and still they were there. I tried to auto-clean once more in the evening. Then something happended that I did not understand: I saw lines flashing by telling me that several apps were being removed, but among those many apps had either the letter "x" or downright "xfce" in their names.
After a reboot, I still could choose between KDE and Xubuntu, but Xubuntu could not run "xfce-4", and then gave me a message that "GNOME" could not be found. KDE still worked, so that's why I'm able to write this. In the meantime, I tried to install Ubuntu desktop (just to try if this gives me trouble) and this seems to work fine. However, when I tried to update and then upgrade either the recently installed Ubuntu or the old Kubuntu installation, the process does not run completely because I have "held packages". This leaves me a bit in a loop, chasing my tail.
When I try now to initiate Xubuntu from the login screen, I get the message:
Code:
:unable to launch "startxfce4" X session --- "startxfce4" not found; falling back to default session
|
You need to install the package that provides startxfce4. On my system that is the xfce4-session package.
Quote:
Originally Posted by Nederjaard
Clicking "okay" makes me end up in a totally empty Ubuntu desktop, without anything at all.
ADD.1
After trying to upgrade from 'Precise' to 'Trusty' again in Kubuntu GUI, I get the following message:
Code:
W:Failed to fetch http://ppa.launchpad.net/nvbn-rm/everpad-usc/ubuntu/dists/trusty/main/source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/nvbn-rm/everpad-usc/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead
I then have the choice of reporting a bug (redirecting me to the Ubuntu One page) or to close the dialogue, after which the upgarde is aborted
Ideally, I would like to have a Xubuntu environment running with nothing else. But as it is, I have no way out. Does someone out there have any idea what could have gone wrong and/or how to solve this step by step ? I have a feeling it's possible, but will take a lot of steps... I'm no newbie anymore, but definitely no veteran either, so please go easy on me. Let me know if you need more specific info, so I can look it up. Thanks in advance !
|
I suggest you comment out those repositories and try again.
HTH,
Evo2.
|
|
|
01-06-2015, 11:43 AM
|
#3
|
LQ Newbie
Registered: Feb 2012
Location: Yerseke, The Netherlands
Distribution: Kubuntu 12.10
Posts: 17
Original Poster
Rep: 
|
Hi evo2,
Thanks for your reply...
I tried your first suggestion, namely installing the xfce4-session:
Code:
francescm@FMT-CEME-laptop:~$ sudo apt-get install xfce4-session
[sudo] password for francescm:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xfce4-session : Depends: libxfce4ui-1-0 but it is not going to be installed
Depends: xfce4-settings but it is not going to be installed
Recommends: xfwm4 but it is not going to be installed
Recommends: xfce4-utils but it is not going to be installed
Recommends: xfdesktop4 but it is not going to be installed
Recommends: xfce4-panel (>= 4.7.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
As for your second suggestion on "commenting out those repositories", I don't know what you mean by that. Please explain...
What I tried this afternoon is removing xubuntu (with the intention to re-install it later). I started with an "update", to follow up with "upgrade". This is what the "update" looked like:
Code:
francescm@FMT-CEME-laptop:~$ sudo apt-get update
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://mirror.1000mbps.com precise Release.gpg
Get:1 http://mirror.1000mbps.com precise-updates Release.gpg [198 B]
Hit http://mirror.1000mbps.com precise-security Release.gpg
Hit http://extras.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://mirror.1000mbps.com precise Release
Hit http://ppa.launchpad.net precise Release
Get:2 http://mirror.1000mbps.com precise-updates Release [194 kB]
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://download.mendeley.com stable Release.gpg
Hit http://extras.ubuntu.com precise/main Sources
Hit http://download.mendeley.com stable Release
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://mirror.1000mbps.com precise-security Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://mirror.1000mbps.com precise/main Sources
Hit http://mirror.1000mbps.com precise/restricted Sources
Hit http://mirror.1000mbps.com precise/universe Sources
Hit http://mirror.1000mbps.com precise/multiverse Sources
Hit http://mirror.1000mbps.com precise/main i386 Packages
Hit http://mirror.1000mbps.com precise/restricted i386 Packages
Hit http://mirror.1000mbps.com precise/universe i386 Packages
Hit http://mirror.1000mbps.com precise/multiverse i386 Packages
Hit http://mirror.1000mbps.com precise/main TranslationIndex
Hit http://mirror.1000mbps.com precise/multiverse TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://mirror.1000mbps.com precise/restricted TranslationIndex
Hit http://mirror.1000mbps.com precise/universe TranslationIndex
Hit http://mirror.1000mbps.com precise/main Translation-en
Hit http://linux.dropbox.com precise Release.gpg
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://download.mendeley.com stable/main i386 Packages
Hit http://mirror.1000mbps.com precise/multiverse Translation-en
Get:3 http://mirror.1000mbps.com precise-updates/main Sources [481 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://download.mendeley.com stable/main TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://linux.dropbox.com precise Release
Get:4 http://mirror.1000mbps.com precise-updates/restricted Sources [7,985 B]
Get:5 http://mirror.1000mbps.com precise-updates/universe Sources [112 kB]
Get:6 http://mirror.1000mbps.com precise-updates/multiverse Sources [8,916 B]
Get:7 http://mirror.1000mbps.com precise-updates/main i386 Packages [886 kB]
Hit http://linux.dropbox.com precise/main amd64 Packages
Get:8 http://mirror.1000mbps.com precise-updates/restricted i386 Packages [13.5 kB]
Get:9 http://mirror.1000mbps.com precise-updates/universe i386 Packages [258 kB]
Get:10 http://mirror.1000mbps.com precise-updates/multiverse i386 Packages [15.5 kB]
Hit http://mirror.1000mbps.com precise-updates/main TranslationIndex
Hit http://mirror.1000mbps.com precise-updates/multiverse TranslationIndex
Hit http://mirror.1000mbps.com precise-updates/restricted TranslationIndex
Hit http://mirror.1000mbps.com precise-updates/universe TranslationIndex
Hit http://mirror.1000mbps.com precise/restricted Translation-en
Hit http://mirror.1000mbps.com precise-security/main Sources
Hit http://mirror.1000mbps.com precise-security/restricted Sources
Hit http://mirror.1000mbps.com precise-security/universe Sources
Hit http://mirror.1000mbps.com precise-security/multiverse Sources
Hit http://linux.dropbox.com precise/main i386 Packages
Ign http://linux.dropbox.com precise/main TranslationIndex
Hit http://mirror.1000mbps.com precise-security/main i386 Packages
Hit http://mirror.1000mbps.com precise-security/restricted i386 Packages
Hit http://mirror.1000mbps.com precise-security/universe i386 Packages
Hit http://mirror.1000mbps.com precise-security/multiverse i386 Packages
Hit http://mirror.1000mbps.com precise-security/main TranslationIndex
Hit http://mirror.1000mbps.com precise-security/multiverse TranslationIndex
Hit http://mirror.1000mbps.com precise-security/restricted TranslationIndex
Hit http://mirror.1000mbps.com precise-security/universe TranslationIndex
Hit http://mirror.1000mbps.com precise/universe Translation-en
Hit http://mirror.1000mbps.com precise-updates/main Translation-en
Hit http://mirror.1000mbps.com precise-updates/multiverse Translation-en
Hit http://mirror.1000mbps.com precise-updates/restricted Translation-en
Hit http://mirror.1000mbps.com precise-updates/universe Translation-en
Hit http://mirror.1000mbps.com precise-security/main Translation-en
Hit http://mirror.1000mbps.com precise-security/multiverse Translation-en
Hit http://mirror.1000mbps.com precise-security/restricted Translation-en
Hit http://mirror.1000mbps.com precise-security/universe Translation-en
Ign http://download.mendeley.com stable/main Translation-en_US
Ign http://download.mendeley.com stable/main Translation-en
Ign http://linux.dropbox.com precise/main Translation-en_US
Ign http://linux.dropbox.com precise/main Translation-en
Fetched 1,978 kB in 7s (252 kB/s)
Reading package lists... Done
Then the upgrade:
Code:
francescm@FMT-CEME-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libpython2.7 python2.7 python2.7-minimal
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,484 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirror.1000mbps.com/ubuntu/ precise-updates/main libpython2.7 i386 2.7.3-0ubuntu3.6 [1,148 kB]
Get:2 http://mirror.1000mbps.com/ubuntu/ precise-updates/main python2.7 i386 2.7.3-0ubuntu3.6 [2,644 kB]
Get:3 http://mirror.1000mbps.com/ubuntu/ precise-updates/main python2.7-minimal i386 2.7.3-0ubuntu3.6 [1,692 kB]
Fetched 5,484 kB in 2s (2,604 kB/s)
(Reading database ... 445416 files and directories currently installed.)
Preparing to replace libpython2.7 2.7.3-0ubuntu3.5 (using .../libpython2.7_2.7.3-0ubuntu3.6_i386.deb) ...
Unpacking replacement libpython2.7 ...
Preparing to replace python2.7 2.7.3-0ubuntu3.5 (using .../python2.7_2.7.3-0ubuntu3.6_i386.deb) ...
Unpacking replacement python2.7 ...
Preparing to replace python2.7-minimal 2.7.3-0ubuntu3.5 (using .../python2.7-minimal_2.7.3-0ubuntu3.6_i386.deb) ...
Unpacking replacement python2.7-minimal ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up python2.7-minimal (2.7.3-0ubuntu3.6) ...
Setting up python2.7 (2.7.3-0ubuntu3.6) ...
Setting up libpython2.7 (2.7.3-0ubuntu3.6) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Then I wanted to look at which packages were being held anyway:
Code:
francescm@FMT-CEME-laptop:~$ dpkg --get-selections | grep hold
francescm@FMT-CEME-laptop:~$
But this gave me -quite literally- nothing.
Then, I wanted to remove xubuntu:
Code:
francescm@FMT-CEME-laptop:~$ sudo apt-get remove xubuntu-desktop
[sudo] password for francescm:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xubuntu-desktop is not installed, so not removed
The following package was automatically installed and is no longer required:
linux-headers-3.2.0-72-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
But the penultimate line actually scared me a bit. Should I be at this moment ? It seems like it gives me the command how to remove my Linux kernel, or do I see this wrongly ?
Anyway, I tried the opposite, to install xubuntu, to see where dependency- or held package-related issues might be:
Code:
francescm@FMT-CEME-laptop:~$ sudo apt-get install xubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xubuntu-desktop : Depends: thunar but it is not going to be installed
Depends: thunar-volman but it is not going to be installed
Depends: xfce4-appfinder but it is not going to be installed
Depends: xfce4-notifyd but it is not going to be installed
Depends: xfce4-panel but it is not going to be installed
Depends: xfce4-session but it is not going to be installed
Depends: xfce4-settings but it is not going to be installed
Depends: xfce4-utils but it is not going to be installed
Depends: xfdesktop4 but it is not going to be installed
Depends: xfwm4 but it is not going to be installed
Recommends: orage but it is not going to be installed
Recommends: parole but it is not going to be installed
Recommends: ristretto but it is not going to be installed
Recommends: thunar-archive-plugin but it is not going to be installed
Recommends: thunar-media-tags-plugin but it is not going to be installed
Recommends: xfburn but it is not going to be installed
Recommends: xfce4-cpugraph-plugin but it is not going to be installed
Recommends: xfce4-datetime-plugin but it is not going to be installed
Recommends: xfce4-dict but it is not going to be installed
Recommends: xfce4-indicator-plugin but it is not going to be installed
Recommends: xfce4-mailwatch-plugin but it is not going to be installed
Recommends: xfce4-netload-plugin but it is not going to be installed
Recommends: xfce4-notes-plugin but it is not going to be installed
Recommends: xfce4-places-plugin but it is not going to be installed
Recommends: xfce4-power-manager but it is not going to be installed
Recommends: xfce4-quicklauncher-plugin but it is not going to be installed
Recommends: xfce4-screenshooter but it is not going to be installed
Recommends: xfce4-systemload-plugin but it is not going to be installed
Recommends: xfce4-verve-plugin but it is not going to be installed
Recommends: xfce4-weather-plugin but it is not going to be installed
Recommends: xfce4-xkb-plugin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
francescm@FMT-CEME-laptop:~$
This may be a bit of an overlaod, but this is basically what I've been doing maybe two or three times before. And I have the idea I'm going in a circle without being able to either install the distro I would like to use, remove it and re-install it or actually upgrade the distro I am running, but want ot get rid of. Gmprf...
Like I said, I'm no veteran, so any sort of step-by-step procedures might be fruitful. Thanks for your time and efforts. Any help is greatly appreciated...
Best regards,
Francesc
Last edited by Nederjaard; 01-06-2015 at 04:56 PM.
|
|
|
All times are GMT -5. The time now is 05:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|