LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian Lenny : how to install xfce 4.6 instead of lenny's 4.4 (https://www.linuxquestions.org/questions/linux-newbie-8/debian-lenny-how-to-install-xfce-4-6-instead-of-lennys-4-4-a-775588/)

cloacms 12-14-2009 11:33 AM

Debian Lenny : how to install xfce 4.6 instead of lenny's 4.4
 
Hello, LQ.

I've got this problem ones may already heard of.
Installed debian lenny, i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but...
My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again (it's crazy, don't you think?).

I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.

Advice? how to do that safe?
i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated). is it the only way?

the trooper 12-14-2009 11:42 AM

The easiest way would be to use Backports:

http://packages.debian.org/lenny-backports/xfce4
http://www.backports.org/dokuwiki/doku.php

cloacms 12-14-2009 11:53 AM

yeah im using backports, thanks for the link, i will try that.

the trooper 12-14-2009 11:55 AM

Don't forget to remove Squeeze from your sources.list also!.

cloacms 12-14-2009 02:38 PM

it won't work. i tried to remove xfce4 package and install this, but no luck ( http://codepad.org/n202O9y2 ), or directly install .deb i fetched, but still no luck(it still won't install xfce4 with apt-get -f install )
i upgraded it partially and it still seem to work but the version is same, bug is present... what would i do?
any idea how to get that fixed?
even tried removing main mirrors, leaving only backports... nothing helped.

i really begin to believe this system is trying to tell me it is smarter than me.

worm5252 12-14-2009 02:40 PM

try this
Code:

apt-get remove --purge xfce4

cloacms 12-14-2009 02:47 PM

no way... http://codepad.org/zwdbb8E6
what am i doing wrong? maybe i need to go another way of installing?

cloacms 12-14-2009 02:49 PM

maybe i need to remove all packages associated with xfce and start from scratch?

the trooper 12-14-2009 02:51 PM

Start from the beginning.

Code:

aptitude purge xfce4 && aptitude purge ~c
Then,add your entries for the main Debian repositories and Backports in /etc/apt/sources.list
When you have added these post back here with the output of

Code:

cat /etc/apt/sources.list
And then we will go from there.

worm5252 12-14-2009 02:52 PM

What about doing this for each dependency

Code:

apt-get upgrade xfdesktop4

cloacms 12-14-2009 02:58 PM

what is "purge ~c"?
sources.list is
Code:

deb http://ftp.psn.ru/debian/ lenny contrib main
deb http://ftp.ru.debian.org/debian/ lenny contrib main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://www.lamaresh.net/apt lenny main
deb http://www.backports.org/debian lenny-backports main

2 worm5252: i believe it does upgrade on entire system, not the package.

the trooper 12-14-2009 03:18 PM

So Xfce is purged successfully,yes?.
Then the next step is to work on your sources.list.
We'll borrow Craigevils' example,make yours look something like this:

Code:

#Stable
deb http://http.us.debian.org/debian/ lenny main contrib non-free
#Stable Sources
deb-src http://http.us.debian.org/debian/ lenny main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ lenny/updates main contrib non-free

# Debian Volatile http://www.debian.org/volatile/
 deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Debian Stable Backports
deb http://www.backports.org/debian lenny-backports main contrib non-free

#Debian-multimedia.org apt-get install debian-multimedia-keyring
 deb http://www.debian-multimedia.org lenny  main

# WINE
deb http://www.lamaresh.net/apt lenny main

Obviously you can change the US entries for ones more appropriate to your location.
Post back with yours when you have modified it.

Quote:

what is "purge ~c"?
Removes any leftover config files.

cloacms 12-14-2009 03:42 PM

cat /etc/apt/sources.list
Code:

deb http://ftp.ru.debian.org/debian/ lenny main contrib
#Stable Sources
deb-src http://ftp.ru.debian.org/debian/ lenny main contrib
#Security Updates Stable
deb http://security.debian.org/ lenny/updates main contrib
# Debian Volatile http://www.debian.org/volatile/
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
# Debian Stable Backports
deb http://www.backports.org/debian lenny-backports main contrib
#Debian-multimedia.org apt-get install debian-multimedia-keyring
deb http://www.debian-multimedia.org lenny main
# WINE
deb http://www.lamaresh.net/apt lenny main

already run "aptitude update" what's next?

the trooper 12-14-2009 04:05 PM

If you had no errors after running aptitude upate,then we can install Xfce again.
So install with:

Code:

aptitude -t lenny-backports install xfce4
See how that goes.

cloacms 12-14-2009 04:17 PM

no way... tried Y also, nothing helps. http://codepad.org/k9J6oY7t
either it's too smart or too stupid. im beginning to think i will need to reinstall system entirely. or remove it and install something else which isn't so damn smart.

the trooper 12-14-2009 04:28 PM

Try running:

Code:

aptitude -t lenny-backports install xfce4
Again.
When it offers solutions say no,and see what other options it gives you.

I can only think this is because you have packages leftover from Xfce 4.4:

Code:

The following packages have unmet dependencies:
  xfce4: Depends: xfdesktop4 (>= 4.6.1) but 4.4.2-7 is installed.
        Depends: thunar (>= 1.0.1) but 0.9.0-10 is installed.
        Depends: thunar-volman (>= 0.3.80) but it is not installable
        Depends: xfce4-mixer (>= 4.6.1) but 4.4.2-3 is installed.
        Depends: xfce4-appfinder (>= 4.6.1) but it is not installable
        Depends: orage (>= 4.6.1) but it is not installable
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xfce4 [Not Installed]
xfce4-mcs-plugins [4.4.2-4 (stable, now)]
xfce4-session [4.4.2-6 (stable, now)]
xfce4-settings [Not Installed]

Score is -9791

Accept this solution? [Y/n/q/?] q

See how you get on.
I'll check back tomorrow to see how it's going.
Any more problems,post back here.
I'm sure there are other people that can help.

cloacms 12-14-2009 04:37 PM

kk thank you very much for your time =)

do i need to remove all packages of current xfce in this case?

the trooper 12-15-2009 07:14 AM

Quote:

do i need to remove all packages of current xfce in this case?
I thought you had already purged your existing Xfce4 installation?.
Remember i gave you the purge command in post #9?.
You can also check for installed Xfce files with:

Code:

dpkg -l | grep xfce
Run this after you have used the purge command,to see what packages/libs are left.
If you find more Xfce packages purge them also.
Then try installing Xfce from Backports again.

cloacms 12-15-2009 02:58 PM

well, i removed every package from xfce, i removed ALL repos from sources.list leaving only backports and it STILL wants to install 4.4 packages and leave xfce4 package still uninstalled like everything else... whatdaheck?
after i removed all packages:
Code:

root@matrix-core:~/deb# dpkg -l | grep xfce
rc  libxfce4mcs-client3                  4.4.2-4                    Client library for Xfce4 configure interface
rc  libxfce4mcs-manager3                4.4.2-4                    Manager library for Xfce4 configure interface
rc  libxfce4util4                        4.6.1-1~bpo50+1            Utility functions library for Xfce4
rc  libxfcegui4-4                        4.4.2-4                    Basic GUI C functions for Xfce4
rc  xfce4                                4.6.1.1~bpo50+1            Meta-package for the Xfce Lightweight Desktop Environment
rc  xfce4-mcs-manager                    4.4.2-3                    Settings manager for Xfce4
rc  xfce4-panel                          4.6.1-3~bpo50+1            The Xfce4 desktop environment panel
rc  xfce4-session                        4.6.1-1~bpo50+1            Xfce4 Session Manager
rc  xfce4-settings                      4.6.1-2~bpo50+1            graphical application for managing Xfce settings
rc  xfce4-terminal                      0.2.8-5                    Xfce terminal emulator
rc  xfce4-utils                          4.6.1-1~bpo50+1            Various tools for Xfce
root@matrix-core:~/deb# aptitude install xfce4
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
The following packages are BROKEN:
  xfce4 xfce4-session
The following NEW packages will be installed:
  exo-utils{a} gtk2-engines-xfce{a} libexo-0.3-0{a} libxfce4util4{a} libxfcegui4-4{a} libxfconf-0-2{a} xfce4-panel{a} xfce4-settings{a} xfce4-utils{a}
  xfconf{a} xfprint4{a} xfwm4{a} xfwm4-themes{a}
0 packages upgraded, 15 newly installed, 0 to remove and 1 not upgraded.
Need to get 1315kB/6707kB of archives. After unpacking 41.9MB will be used.
The following packages have unmet dependencies:
  xfce4: Depends: xfdesktop4 (>= 4.6.1) but it is not installable
        Depends: thunar (>= 1.0.1) but it is not installable
        Depends: thunar-volman (>= 0.3.80) which is a virtual package.
        Depends: xfce4-mixer (>= 4.6.1) which is a virtual package.
        Depends: xfce4-appfinder (>= 4.6.1) which is a virtual package.
        Depends: orage (>= 4.6.1) which is a virtual package.
  xfce4-session: Depends: fortune-mod but it is not installable
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xfce4 [Not Installed]
xfce4-session [Not Installed]

Leave the following dependencies unresolved:
xfce4-settings recommends aumix
xfce4-utils recommends thunar
xfce4-utils recommends xinput
xfce4-utils recommends xdg-user-dirs
Score is -10672

Accept this solution? [Y/n/q/?] q

i think it's because backports don't have a build for i386 which seem ... i don't know how to name that.
i suppose the only way to get through this is either install squeeze(but i wasted too damn much time on this system) or build xfce4 from sources, as the only one solution.
if anyone have better idea, please share it. (or i guess there is no better idea than build from scratch, it's proven by years of this experience)

cloacms 12-15-2009 03:11 PM

oh wait i didn't run purge for newly removed packages... maybe that'll help, hold on...

update: now it's like this
Code:

root@matrix-core:~/deb# aptitude install xfce4
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
The following packages are BROKEN:
  xfce4 xfce4-session
The following NEW packages will be installed:
  exo-utils{a} gtk2-engines-xfce{a} libexo-0.3-0{a} libxfce4util4{a} libxfcegui4-4{a} libxfconf-0-2{a} xfce4-panel{a} xfce4-settings{a} xfce4-utils{a}
  xfconf{a} xfprint4{a} xfwm4{a} xfwm4-themes{a}
0 packages upgraded, 15 newly installed, 0 to remove and 1 not upgraded.
Need to get 1315kB/6707kB of archives. After unpacking 41.9MB will be used.
The following packages have unmet dependencies:
  xfce4: Depends: xfdesktop4 (>= 4.6.1) which is a virtual package.
        Depends: thunar (>= 1.0.1) which is a virtual package.
        Depends: thunar-volman (>= 0.3.80) which is a virtual package.
        Depends: xfce4-mixer (>= 4.6.1) which is a virtual package.
        Depends: xfce4-appfinder (>= 4.6.1) which is a virtual package.
        Depends: orage (>= 4.6.1) which is a virtual package.
  xfce4-session: Depends: fortune-mod which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xfce4 [Not Installed]
xfce4-session [Not Installed]

Leave the following dependencies unresolved:
xfce4-settings recommends aumix
xfce4-utils recommends thunar
xfce4-utils recommends xinput
xfce4-utils recommends xdg-user-dirs
Score is -10672

Accept this solution? [Y/n/q/?] ^[[A^[[A^C
root@matrix-core:~/deb# dpkg -l | grep xfce
root@matrix-core:~/deb# aptitude -t lenny-backports install xfce4=4.6.1.1~bpo50+1
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
The following packages are BROKEN:
  xfce4 xfce4-session
The following NEW packages will be installed:
  exo-utils{a} gtk2-engines-xfce{a} libexo-0.3-0{a} libxfce4util4{a} libxfcegui4-4{a} libxfconf-0-2{a} xfce4-panel{a} xfce4-settings{a} xfce4-utils{a}
  xfconf{a} xfprint4{a} xfwm4{a} xfwm4-themes{a}
0 packages upgraded, 15 newly installed, 0 to remove and 96 not upgraded.
Need to get 1315kB/6707kB of archives. After unpacking 41.9MB will be used.
The following packages have unmet dependencies:
  xfce4: Depends: xfdesktop4 (>= 4.6.1) which is a virtual package.
        Depends: thunar (>= 1.0.1) which is a virtual package.
        Depends: thunar-volman (>= 0.3.80) which is a virtual package.
        Depends: xfce4-mixer (>= 4.6.1) which is a virtual package.
        Depends: xfce4-appfinder (>= 4.6.1) which is a virtual package.
        Depends: orage (>= 4.6.1) which is a virtual package.
  xfce4-session: Depends: fortune-mod which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xfce4 [Not Installed]
xfce4-session [Not Installed]

Leave the following dependencies unresolved:
xfce4-settings recommends aumix
xfce4-utils recommends thunar
xfce4-utils recommends xinput
xfce4-utils recommends xdg-user-dirs
Score is -10672

Accept this solution? [Y/n/q/?] q

i run "aptitude purge ~c" before this. "dpkg -l | grep xfce" is now empty.

Web31337 12-15-2009 03:18 PM

seem to be interesting... i have same problem with xfce and no time to fix it. i thought backports can help.
useful thread, i hope you can solve it without rebuilding from sources-it takes damn much time.
it's been three years since that bug with memory leak first was noticed. this is a stable bug as my friend said :)

the trooper 12-15-2009 03:32 PM

Quote:

i removed ALL repos from sources.list leaving only backports and it STILL wants to install 4.4 packages
Why did you do this?.
You may need the usual Debian repositories for dependencies.
The only option i can suggest now is put your sources.list back to how we had before.
Then try installing again remembering to use the command for Backports.
When you get to this point:

Code:

Accept this solution? [Y/n/q/?]
Type n and keep pressing n until you get the option to install the relevant package versions i.e Xfce 4.6.

See how you go.
Check back again tomorrow.

cloacms 12-15-2009 03:45 PM

i restored it to one we had before, then "aptitude update" again, then http://codepad.org/9ZqLlWZ0
you know, sometimes i solved problems downloading .deb. I can't do it now: there are no .deb's for i386 on backports.

Web31337 12-18-2009 05:05 PM

cloacms maybe this will help you: http://www.linuxquestions.org/blog/w...n-debian-2499/
in fact i couldn't install it via aptitude either.

mark_alfred 12-18-2009 05:30 PM

Decided, on 2nd thought, that my suggestion wasn't all that useful; so, I've deleted it.

craigevil 12-18-2009 07:19 PM

If the backports.org repo isn't working you may want to consider a one of the "unofficial" repos.

Add the repo.
# unofficial kde4/xfce4.6 backports http://www.debian-desktop.org/doku.php/start
# XFCE 4.6.0 # i386,amd64
# deb http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460
# deb-src http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460

Add the gpg key:
fetch gpg key from server

wget http://www.debian-desktop.org/pub/li...esktop.org.key

import into apt

apt-key add ./debian-desktop.org.key


After adding the repo and gpg key, aptitude update && aptitude install xfce4 xfce4-goodies

Web31337 12-18-2009 07:59 PM

thanks, if there will be a chance i will, by now the one i built myself works just perfect ;)

cloacms 12-19-2009 12:00 AM

thanks!
 
big thanks to everyone helped!
i really appreciate your help and attention!
thanks for a post, Web31337, it would also be good if you add an order of packages building. but i think i can sort it out myself when i will be in process of building.
currently in KDE.
i'll track your post, web31337, you will add a response when you discover if the bug was fixed by installing 4.6, won't you? i think i will keep away from building or installing it from apt(but i really had enough) for a while, and, if that doesn't fixes bug, i'll try using another more minimal DM.

mark_alfred 12-19-2009 12:11 AM

You could try enabling the source directory for sid, and installing that way. See how to install source packages page for tips. It would be a lot of effort, and likely would not work (it's a great thing to do with smaller packages, but for larger ones, there's just too much that can go wrong).

My other suggestion is to install lxde. It's great. I just installed it today. It's a very good, lightweight desktop environment.

PS, apparently there's a newer methodology behind installing source packages (see porting a package to stable). Mind you, I don't completely understand these newer instructions; so, I'll likely stick with the older method myself.


All times are GMT -5. The time now is 01:26 AM.