LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-03-2011, 03:33 PM   #1
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Rep: Reputation: 0
LibreOffice upgrade problem question (pinning)


Hello,

I just did a full update/upgrade to my Debian/Wheezy/Xfce installation, and the upgrade stopped halfway through upon encountering a problem. I eventually solved the problem by first isolating which package was in error by doing first;

Code:
dpkg -C
...to get a list of packages that still needed configuring, and manually configuring each of them through...

Code:
dpkg --configure each_package_name
...until I isolated that the bugbear package was:

Code:
libreoffice-help-en-us
I attempted using;

Code:
apt-get install -f
...to obtain missing dependencies, and got some results. After restarting the computer, a manual...

Code:
apt-get install libreoffice-help-en-us
...appeared to solve the problem, and a fresh update/dist-upgrade revealed no new packages pending installation.

However, looking through some of the bug reports, I notice that this particular package HAS caused problems to other users previously. I am actually quite content with the current version of LibreOffice, and do not really want to upgrade it anymore, but before I go pinning it, I wanted to ask the following;

FIRST;
Inputting...

Code:
libreoffice --version
...in terminal gives me the following output...

Code:
LibreOffice 3.4  340m1(Build:402)
Is this the complete detail of the version (340m1) I would use when pinning LibreOffice?

SECOND;
Would I have to pin each and every package of LibreOffice to ensure that the whole package does not upgrade? Here's the dpkg --get-selections output concerning libreoffice...

Code:
libreoffice					install
libreoffice-base				install
libreoffice-base-core				install
libreoffice-calc				install
libreoffice-common				install
libreoffice-core				install
libreoffice-draw				install
libreoffice-emailmerge				install
libreoffice-filter-binfilter			install
libreoffice-filter-mobiledev			install
libreoffice-gtk					install
libreoffice-help-en-us				install
libreoffice-impress				install
libreoffice-java-common				install
libreoffice-math				install
libreoffice-officebean				install
libreoffice-report-builder-bin			install
libreoffice-style-galaxy			install
libreoffice-style-tango				install
libreoffice-writer				install
THIRD;
Would pinning LibreOffice result in any other problems? By this I mean, would or could subsequent upgrades alter the dependencies of the pinned version of LibreOffice and render it possibly unusable?

I hope I have been clear with my query. Many thanks in advance for any advice on this...
 
Old 12-03-2011, 03:52 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Easier to just hold the packages.

as root echo libreoffice hold|dpkg --set-selections

Probably a good idea to hold libreoffice, libreoffice-base, libreoffice-core, libreoffice-base-core.
 
1 members found this post helpful.
Old 12-03-2011, 07:01 PM   #3
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
Easier to just hold the packages.

as root echo libreoffice hold|dpkg --set-selections

Probably a good idea to hold libreoffice, libreoffice-base, libreoffice-core, libreoffice-base-core.
That's even better advice. Thanks!
 
Old 12-03-2011, 07:13 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Also if you had the package "apt-listbugs" installed you would have gotten a bug warning and an option to not install the packages.

I think it is really great to have. Won't catch everything, they do have to have been reported, but it saves a lot of grief.
 
1 members found this post helpful.
Old 12-04-2011, 11:38 AM   #5
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by widget View Post
Also if you had the package "apt-listbugs" installed you would have gotten a bug warning and an option to not install the packages.

I think it is really great to have. Won't catch everything, they do have to have been reported, but it saves a lot of grief.
And that too, thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apt-pinning and 'aptitude safe-upgrade' Knightron Debian 3 11-17-2011 10:58 PM
Apt-pinning question Tortanick Debian 3 06-02-2007 09:16 AM
apt-pinning question nx5000 Debian 3 04-11-2007 05:48 PM
question on pinning michapma Debian 1 09-16-2006 12:59 AM
Partial upgrade with APT pinning (debian)? MaulingMonkey Linux - Software 1 01-21-2005 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration