PDA

View Full Version : Uninstalling apps (OpenOffice)



Static_C
04-22-2004, 12:04 AM
Hi, n00b here!

I recently started getting into Linux using the Knoppix-STD CD. Through that I became aquainted w/ Knoppix.

I partitioned my HD and did an install of Knoppix. I'm now successfully running a dual boot w/ WinXP.

My question is this, how can I "uninstall" OpenOffice? I'd like to install the new version, and the website says I should remove the old one first. I tried running the "setup" app in the OO directory. I'm fairly sure there is a remove option in there, but the whole thing is in German (which I don't read). :!: :?: So, what should I do? Can you tell me what buttons to push to do it? Or if there is a command I can type in a shell that would do it, can you tell me what it is?

Thanks!

champagnemojo
04-22-2004, 12:52 AM
apt-get remove openoffice-de-en

m_yates
04-22-2004, 01:36 AM
You can also install the newest version with:

apt-get -t unstable install openoffice.org

Provided you have a Debian unstable repository listed in /etc/apt/sources.list

Static_C
04-22-2004, 05:58 AM
"apt-get remove openoffice-de-en"

Ah, ok. I'll try that! Thanx! :D


"apt-get -t unstable install openoffice.org

Provided you have a Debian unstable repository listed in /etc/apt/sources.list"

Thank you for your response. Unfortunately, I'm still too green to understand that. Isn't Debian unstable the current untested Debian? I think that's what I read on their website. Is this correct? Also, what is a repository?

m_yates
04-22-2004, 01:55 PM
You can do the following:
su
(enter root password)
kwrite /etc/apt/sources.list
You should see a list of places to download Debian packages from. In Knoppix, these download mirrors are in Germany. You can edit them if you want. I live in the U.S., so I usually change them to U.S. mirrors. Here is what my sources.list looks like:
##Debian Stable
deb ftp://ftp.debian.org/debian woody main contrib non-free
deb http://non-us.debian.org/ woody/non-US main contrib non-free

##Debian TESTING
deb ftp://ftp.debian.org/debian sarge main contrib non-free
deb http://non-us.debian.org/ sarge/non-US main contrib non-free

##Debian UNSTABLE
deb ftp://ftp.debian.org/debian unstable main contrib non-free
deb http://non-us.debian.org/ unstable/non-US main contrib non-free

##Debian security updates
deb ftp://security.debian.org/debian-security sarge/updates main contrib non-free
deb ftp://security.debian.org/debian-security stable/updates main contrib non-free
What I was saying is that you need Debian "unstable" mirrors on the list to get the latest software. New versions of software first go into "unstable", then after some time/bug fixes, they move to "testing". Even though it says "unstable", it doesn't have major problems and many people run completely "unstable" software. Knoppix is a mixture of "testing" "unstable" and custom stuff.

Once you have your sources.list file set up:
apt-get update
apt-get -t unstable install openoffice.org
There is a howto on this site for using apt and dpkg to install software, you should take a look at it.

tr
04-23-2004, 06:34 PM
'apt-get dist-upgrade' wants to REMOVE OpenOffice:

I have done exactly according to your advices to remove original OpenOffice apt-get remove openoffice-de-en and then to install the new package apt-get install openoffice.org .

Now I have a problem with dist-upgrade which wants to remove my new installation:

root@TeraeNet:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
dictionaries-common openoffice.org openoffice.org-bin
openoffice.org-debian-files openoffice.org-l10n-en openoffice.org-l10n-fi
openoffice.org-soikko

I have added to /etc/apt/sources.list:
# OpenOffice.org in Finnish:

deb http://elonen.iki.fi/code/unofficial-debs/ ./

and installed those Finnish language packages.

What can be done to keep that new OOo when upgrading? My Knoppix installation is from 2004-2-16 package.


SOLVED!!!

I'm not sure what happened and why but now everything ist OK. If someone knows what happended, please tell me. This is what I have done:

apt-get upgrade
apt-get install prelink
apt-get install openoffice.org-crashrep
apt-get install oooqs-kde

and then
apt-get dist-upgrade

without any packages to be removed!

root@TeraeNet:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back:
cloop-utils enigma foomatic-db-engine foomatic-filters gimp gq gtkam kdepim
libautotrace3 libgnomecanvas2-0 libgnomevfs2-0 libgnomevfs2-common
libopenh323-1.12.2 libperl5.8 libpt-1.5.2 libsdl-mixer1.2
libsdl1.2debian-oss libtext-iconv-perl libwv2-1 libxml2-utils libxslt1.1 lyx
lyx-common lyx-qt perl-base pppconfig xscreensaver
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
root@TeraeNet:~#

Static_C
04-25-2004, 07:22 AM
Thanx for all your help guys!

One more question. openoffice-de-en is the package name right?

If I want to remove xine, what would I type? apt-get remove ????

champagnemojo
04-25-2004, 07:26 AM
Yep...you have it right. If the obvious name doesn't work for a program you can do an "apt-cache search ???" to find the right name of the package. It looks like xine can be removed by apt-get remove libxine1.

And it's a good idea to use -s (simulate) first to see what is going to be removed and such. For instance if I simulate removing libxine1 I get:


evan@knoppix:~$ sudo apt-get remove libxine1 -s
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
noatun-plugins
The following packages will be REMOVED:
kaffeine kdemultimedia libarts1-xine libxine1 xine-ui
The following packages will be upgraded
noatun-plugins
1 upgraded, 0 newly installed, 5 to remove and 543 not upgraded.
Remv kaffeine (0.4.2-1.1 Debian:unstable)
Remv kdemultimedia (4:3.2.2-1 Debian:unstable)
Remv libarts1-xine (4:3.2.2-1 Debian:unstable)
Inst noatun-plugins [4:3.2.1-1] (4:3.2.2-1 Debian:unstable)
Remv xine-ui (0.9.23-2 Debian:testing)
Remv libxine1 (1-rc3c-1 Debian:testing)
Conf noatun-plugins (4:3.2.2-1 Debian:unstable)


So it's going to remove KDEMultimedia. I'd have to get that reinstalled afterwards. :D

Static_C
04-26-2004, 01:48 AM
This is what I keep getting.

Chris@Static_C:~$ apt-get remove libxine1 -s
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Chris@Static_C:~$ sudo apt-get remove libxine1 -s
Chris is not in the sudoers file. This incident will be reported.
Chris@Static_C:~$

Do I need to use a root terminal? How I can I give myself sudo access? I added my account to the sudo group in KUser. But that didn't change anything.

Thanks for helping!

champagnemojo
04-26-2004, 05:53 AM
Look in your other thread...the one about mounting your usb drive. :D