You are not logged in.
Pages: 1
What (or How to ) is rebuild a package?
Is force reinstall?
pacman -Sf myPackage
or install from cache
pacman -U /var/cache/pacman/pkg/myPackage.pkg.tar.gz
or another thing?
Last edited by Horris (2009-12-08 13:02:37)
Offline
ABS?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
No precisely, ABS is for install packages from source.
I have this situation:
New version of Kernel26 if I can't wait a new version of nvidia I have to "rebuild" nvidia. How do this?
Offline
New version of Kernel26 if I can't wait a new version of nvidia I have to "rebuild" nvidia. How do this?
Can you clarify this sentence? I'm a little confused on what exactly you're trying to do, by saying both a new version of Kernel26 and building nvidia. But ABS still seems like what you're looking for. While it's commonly used to build from source, it can also rebuild packages for something like the nvidia which is distributed as a binary.
Offline
from http://wiki.archlinux.org/index.php/Pacman
"For example, if kernel26 is to be updated to a new minor version, the cautious user immediately recognizes that packages that include kernel modules (such as catalyst and virtualbox-modules) must be updated/rebuilt as well"...
How rebuilt a package?
Offline
ABS for packages in the repos. If it is a package from the AUR, do exactly what you did to build it in the first place.
Offline
No precisely, ABS is for install packages from source.
No it's not. It's for rebuilding packages. Gentoo installs packages from source; Arch installs binaries.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
from http://wiki.archlinux.org/index.php/Pacman
"For example, if kernel26 is to be updated to a new minor version, the cautious user immediately recognizes that packages that include kernel modules (such as catalyst and virtualbox-modules) must be updated/rebuilt as well"...
How rebuilt a package?
You can use abs to get the PKGBUILD file for nvidia. There's a line that says
_kernver='2.6.31-ARCH'
You want to change that to match the kernel you're using. Than just use makepkg to build the package. Just to be clear you only need to do this if you're building your own kernel that changes the version number. If you're using the packages from the repos nvidia will get rebuilt and put in the repos at the same time as a new kernel.
Offline
No it's not. It's for rebuilding packages. Gentoo installs packages from source; Arch installs binaries.
Yes, that's right. ABS (and tools) generates a pkg.tar.gz installable with pacman.
Thank's guys for the explanation.
Last edited by Horris (2009-12-08 02:15:38)
Offline
Pages: 1