LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   LibreOffice upgrade problem question (pinning) (http://www.linuxquestions.org/questions/debian-26/libreoffice-upgrade-problem-question-pinning-916953/)

feeblebrain 12-03-2011 03:33 PM

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...

craigevil 12-03-2011 03:52 PM

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.

feeblebrain 12-03-2011 07:01 PM

Quote:

Originally Posted by craigevil (Post 4541241)
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!

widget 12-03-2011 07:13 PM

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.

feeblebrain 12-04-2011 11:38 AM

Quote:

Originally Posted by widget (Post 4541320)
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!


All times are GMT -5. The time now is 10:52 PM.