You are not logged in.
Hi,
I excuse me now for my english because I'm french.
I use this english forum because I can't find a solution to my problem anywhere.
I have my own local repo and I put in pacman.conf in first (before [core]). In my repo, there are packages I've made with a little modified pkgbuild from abs keeping the same name and version of original pkgbuild (if I don't install new version of software). Of course, I want my repo to be "the first to be used" by pacman.
The problem is the next : when I upgrade arch with "pacman -Syu", pacman doesn't install new version of packages in my repo.
For example : I take the pkgbuild of mpd and I have a package called "mpd-0.14.1-1-i686" in my repo. Now there is "mpd-0.14.1-3-i686" in [extra] but pacman doesn't upgrade it because my repo is the first.
Any idea ?
Thanks
Last edited by Thom1 (2009-01-23 16:33:48)
Offline
I keep my local repo last in the list, and if I need to install something from it I just use "pacman -Sy myrepo/package".
Offline
Ok, but I want that pacman install newer package automatically
Offline
If there is a more recent package in a repo with higher priority it gets installed automatically on my system.
Offline
On my system too but I want my repo highest priority and more recent package
Offline
If you want to keep your repo at the top of the list and still get the most recent official updates, you will need to keep it in sync with the official repos. Write a script that checks the official repos for updates to your local packages, and deletes your local version if necessary. pacman can't do what you're looking for without some help.
Offline
ok, thanks
Offline
On my system too but I want my repo highest priority and more recent package
If you have a more recent package in your repo, assuming it has the lowest priority, pacman should not replace it with a package from core or extra, it'll just print out a warining that the installed version is more recent than the one in the repositories.
Offline
I know, thanks again
Offline