Remarks: Note the following procedure seemed to corrupt dependencies for my kernel to a point where it was easier to reinstall the OS than remove conflicting packages and install correct ones.
Add a new repository to apt sources:
Create a new file in sources.list.d
kdesudo kate /etc/apt/sources.list.d/libre-office.list
Add this line:
deb http://backports.debian.org/debian-backports squeeze-backports main
Running command:
[[email protected] c]$ sudo apt-get install libreoffice
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:
libreoffice : Depends: libreoffice-core (= 1:3.5.4+dfsg-3~bpo60+2) but it is not going to be installed
Depends: libreoffice-writer but it is not going to be installed
Depends: libreoffice-calc but it is not going to be installed
Depends: libreoffice-impress but it is not going to be installed
Depends: libreoffice-draw but it is not going to be installed
Depends: libreoffice-math but it is not going to be installed
Depends: libreoffice-base but it is not going to be installed
Depends: libreoffice-report-builder-bin but it is not going to be installed
Depends: libreoffice-filter-mobiledev but it is not going to be installed
Depends: libreoffice-java-common (>= 1:3.5.4+dfsg~) but it is not going to be installed
E: Broken packages
The dependency problems seemed difficult to fix, so I tried:
[[email protected] c]$ sudo aptitude -t squeeze-backports install libreoffice
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.