Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Backports

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
specialist125
Posts: 139
Joined: 2006-02-08 06:13

Backports

#1 Post by specialist125 »

Ok I followed the directions in the How to section of the site. I have the back port packages listed in K-package (kde package manager). I wanted to upgrade "Sarge" KDE Version, but I get dependices problems when I try to install. I thought that apt would check this and install the libraries and etc in the correct order to avoid this. Is this because Im not using the command line to install the packages. How can I set up K-package or Synaptic to do this.(I should add that I have not tried to install the backports with synaptic but I assume I will get the same problem)

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#2 Post by ajdlinux »

For backports it's much easier to use the command line:

$ su
<Password>
# apt-get -t sarge-backports install kde

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#3 Post by specialist125 »

So will this solve the dependices problem? And if it does why can't k-package solve these problem or is it a way to set this up.

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#4 Post by ajdlinux »

The issue is that APT has been told to ignore backports except when told by the -t option. KPackage doesn't know that.

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#5 Post by Lavene »

To use K-package or Synaptic to upgrade from Backports you must change the pin priority in /etc/apt/preferences. That's however not recomended.

So if you use pinning you want to use apt-get to pull stuff from backports.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#6 Post by specialist125 »

I have the backports pinned but I believe it's the 200 level. I understand that the higher the pin # the higer the hiearchy, So what you are saying is since the backports has a lower pin # k-package will not recongnize the dependices it need because the backport are consider to be lower priority than the stable packages. I this what is happening or am I completely wrong. Do you think that stable and backports is the way to go or would it be simpler to just upgrade to testing or unstable "perferably Testing".

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#7 Post by Lavene »

Have a look at http://www.argon.org/~roderick/apt-pinning.html to learn about pinning.

Of course there could be a million reasons for your dependency problem. It may have notting to do with backports at all. It's hard to say without knowing exactly what kind of dependency error you get.
Do you think that stable and backports is the way to go or would it be simpler to just upgrade to testing or unstable "perferably Testing".
Hard to say really... but I'm running a very mixed testing/ unstable system and I have very few problems these days. I see numerous reports of Testing being rock solid so it shouldn't be much problems. After all, Etch is getting closer and closer to becomming stable.

So if you plan to upgrade your entire system from backports and not just a few packages I think I'd recomend going for dist-upgrade to Testing instead. Testing is still 'testing' though... so the accational glitch my still happen.

Tina

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#8 Post by ajdlinux »

specialist125 wrote:I have the backports pinned but I believe it's the 200 level. I understand that the higher the pin # the higer the hiearchy, So what you are saying is since the backports has a lower pin # k-package will not recongnize the dependices it need because the backport are consider to be lower priority than the stable packages. I this what is happening or am I completely wrong. Do you think that stable and backports is the way to go or would it be simpler to just upgrade to testing or unstable "perferably Testing".
I think what has happened is that you have a pin which tells APT to ignore backports. If you remove that pin then apt-get upgrade will probably break but you can use KPackage.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#9 Post by specialist125 »

So it looks like I should forget about k-package and backports. I think I would be better off using the command line. Oh If i do a dist-upgrade tell me will that erase what I have already saved. I know I should probably backup my system and all but Im wondering what I should expect (Pros and Cons) other than the security update.I believe Testing doesn't get the security update like stable. Would I have to add alot of patches to fix problems and all.

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#10 Post by ajdlinux »

Testing is more stable than the name suggests. Packages are first deposited in unstable, then a script (britney) transfers packages from unstable to testing - they generally have to be at least 10 days old, have no severe bugs, etc.

Testing does get security updates, just not as fast as stable does.

You need a dist-upgrade because upgrade will only upgrade packages when no packages have to be added or removed.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#11 Post by specialist125 »

So is the command for this "apt-get install dist-upgrade testing" or something oh and will this erase all previous info saved on my system.

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#12 Post by ajdlinux »

You need to change your sources.list. Just search this forum for it!

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#13 Post by specialist125 »

ok so I still tried to install a newer version of kde and now I have some problems I install kdenetwork-dev backport package and eveything seem ok so I when to the next which was the kdesdk-kio-plugins and then I got dependices problems and I cant fix it with apt-get -f install plus kmail will not open and kopete is not working now and Im scared to close firefox because It might not open again either and I only have this one computer and my finals is comming up so I dont want it to do down . When I try to fix it it says
Unpacking kdesvn-kio-plugins (from .../kdesvn-kio-plugins_0.7.2-1bpo1_i386.deb)...
dpkg: error processing /var/cache/apt/archives/kdesvn-kio-plugins_0.7.2-1bpo1_i386.deb (--unpack):
trying to overwrite `/usr/share/services/svn+file.protocol', which is also in package kdevelop3-plugins
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kdesvn-kio-plugins_0.7.2-1bpo1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can you help me out because I have another user who has mail in the client and will be really piss if she cant get to it. Also I can get to my file in konqueror but the internet browers will not work It their a way I can go back or fix this??????

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#14 Post by ajdlinux »

When upgrading KDE you NEED to logout afterwards. Otherwise the libraries will not reload and you will get seriously messed up windows and other things. Logout then log back in.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#15 Post by specialist125 »

should I do this after every package I upgrade

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#16 Post by ajdlinux »

So you aren't using dist-upgrade?

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#17 Post by specialist125 »

I think I will try that instead because I cant get kmail to open so I hope the mail isn't lost

ok here is what im about to change my source.list to
# deb file:///cdrom/ sarge main
# Stable
#deb http://debian.oregonstate.edu/debian/ stable main
#deb-src http://debian.oregonstate.edu/debian/ stable main
# Security
#deb http://security.debian.org/ stable/updates main
# deb http://security.debian.org/ stable/updates main contrib non-free
# deb http://www.bootsplash.de/files/debian/ unstable main
# proposed additions for a 3.1 point release
deb http://ftp.us.debian.org/debian/ proposed-updates main contrib non-free
# Backports
#deb http://www.backports.org/debian/ sarge-backports main
#deb http://www.planet-moll.de/debian sarge main
# Debian Testing
deb http://debian.oregonstate.edu/debian/ testing main
deb-src http://debian.oregonstate.edu/debian/ testing main
# Testing Security
deb http://security.debian.org/ testing/updates main
deb http://security.debian.org/ testing/updates main contrib non-free



the apt-get update then
apt-get dist-upgrade


Does this look right

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#18 Post by ajdlinux »

Yes.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#19 Post by specialist125 »

do I need to commit out

deb http://ftp.us.debian.org/debian/ proposed-updates main contrib non-free

oh and should I worry about that broke package that apt-get -f install didnt fix.

specialist125
Posts: 139
Joined: 2006-02-08 06:13

#20 Post by specialist125 »

Ok this is what apt- get dist-upgrade said

specialist125@the-cage:~$ sudo apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
specialist125@the-cage:~$

Post Reply