You are not logged in.

#1 2011-11-09 15:11:43

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

[SOLVED]Upgrading packages from AUR question

I have a couple of packages installed from AUR. They are now old and i want to upgrade them. So i builded coresponding packages and i am wondering if when i will do an upgrade if there will be left some files of old package if the new one won't have the same file structure?

thx for answer

Last edited by Shark (2011-11-09 16:08:49)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2011-11-09 15:27:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Upgrading packages from AUR question

The old package gets removed if things work as planned.

Offline

#3 2011-11-09 15:51:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: [SOLVED]Upgrading packages from AUR question

So when the upgrade process start first the package is removed and the new one installed?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#4 2011-11-09 16:04:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Upgrading packages from AUR question

Shark wrote:

So when the upgrade process start first the package is removed and the new one installed?

Yup.
Unless you change the name e.g. instead of foo you name your package foo-ng.

Offline

#5 2011-11-09 16:08:34

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: [SOLVED]Upgrading packages from AUR question

Ah, thanks. Problem solved.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#6 2011-11-14 23:27:22

bwat47
Member
Registered: 2009-10-07
Posts: 638

Re: [SOLVED]Upgrading packages from AUR question

I suggest checking out packer which makes aur upgrades easier, it uses the same syntax as pacman i.e. "packer -Syu" will upgrade all your aur packages.

Offline

#7 2011-11-15 01:33:44

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: [SOLVED]Upgrading packages from AUR question

Months ago i used yaourt. Now i am satisfied with cower (only check for new versions and download the PKGBUILD). I want to have control over the process smile

Last edited by Shark (2011-11-15 01:34:23)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#8 2011-11-16 19:07:02

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 468

Re: [SOLVED]Upgrading packages from AUR question

packer lets you edit the PKGBUILD.

ezik

Offline

Board footer

Powered by FluxBB