LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-14-2018, 06:03 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,426

Rep: Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206Reputation: 3206

Quote:
Originally Posted by mfoley View Post
I'll update my documentation to specify removing the older libreoffice package before installing the new one. slackpkg and sbopkg remove the old package automatically. I guess I wrongly assumed installpkg would do the same.
He kinda covers it above, but to give it a bit more concise. installpkg only installs. It doesn't care what else is on the system, it will just install. upgradepkg is used to upgrade installed packages with newer ones. upgradepkg offers two flags, --install-new and --reinstall. Normally, upgradepkg will fail if a package is installed or if you're trying to upgrade the same package (same version and build number). Those two flags allow you to override that.

It is much easier to just run upgradepkg package-filename.txz than removepkg package and installpkg package-filename.txz.
 
1 members found this post helpful.
Old 08-15-2018, 09:35 AM   #17
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,473

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by chrisretusn View Post
In the case of libreoffice, from that directory, I would remove the old libreoffice files e.g., 'rm libreoffice*.txz'. Then download the new libreoffice files I want to install. Run 'upgradepkg libreoffice*.txz'. This will upgrade the installed libreoffice to the new.
I'll try running upgradepkg instead of installpkg next time. That might do it.
 
  


Reply

Tags
blacklist, slackpkg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What have I done. slackpkg upgrade-all evanmars Linux - Laptop and Netbook 2 12-04-2017 10:22 AM
Further slackpkg questions Josh000 Slackware 6 02-21-2011 08:54 PM
[SOLVED] After upgrade all using slackpkg upgrade, configuration is failed to read ethereal1m Linux - Newbie 3 04-28-2010 02:03 AM
slackpkg upgrade-all does not show an upgrade sycamorex Slackware 6 11-03-2009 06:29 AM
Slackpkg questions jerf Slackware 1 03-25-2008 09:41 AM

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

All times are GMT -5. The time now is 04:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration