You are not logged in.

#1 2011-06-19 15:25:12

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

yaourt "local/" packages vs "aur/" packages

I've just installed yaourt to give it a try. When I run "yaourt -Qu --aur", however, the AUR packages that I had previously installed manually (download, makepkg, pacman -U) do not show up, even though if I search explicitly for one of them, it is labelled as installed and in need of updating.

Running "yaourt -Qm" gives me:

local/archey 20110506-1
local/charm 1.9.1-4
local/dropbox 1.1.35-1
local/dropbox-servicemenu 0.15.3-1
local/emacs-org-mode 7.5-1
local/flashplugin-prerelease 10.3.162.29-2
local/greed 3.4-3
local/gtk-theme-elegant-gtk 4.0-1
local/minecraft latest-12
local/package-query 0.8-1
local/phonon-xine 4.4.4-1
local/tinyfugue 5.0b8-1
local/ttf-digital-readout 1.1-1
local/ttf-ms-fonts 2.0-8
local/ttf-sil-fonts 5-1
local/ttf-tahoma 3.14-2
local/urlview 0.9-7
local/yaourt 0.10.1-2

Running "yaourt -Ss dropbox-servicemenu" gives me:

aur/dropbox-servicemenu 0.15.4-1 [installed: 0.15.3-1] (153)

Running "yaourt -Qua" only lists packages in core, extra, and community repos.

So the question is: How do I get yaourt to make the connection between the "local/" packages and "aur/" packages when searching for updates?

Thanks

Offline

#2 2011-06-19 15:31:02

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

Re: yaourt "local/" packages vs "aur/" packages

I don't I understand what do you want to accomplish.
Do you want to update just the packages you installed from AUR? This is discouraged, you should always update the whole system, all the packages.

Offline

#3 2011-06-19 15:31:59

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: yaourt "local/" packages vs "aur/" packages

Installed packages have no metadata describing what repo they came from. 'local' is their assigned repo. pacman -Qm will show all packages which are installed but which cannot be related back to a matching package in the sync DBs.

This isn't the proper forum to be asking questions about yaourt.

Offline

#4 2011-06-19 15:37:53

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

Re: yaourt "local/" packages vs "aur/" packages

karol wrote:

I don't I understand what do you want to accomplish.
Do you want to update just the packages you installed from AUR? This is discouraged, you should always update the whole system, all the packages.

No, I want to be able to see all available updates, including those from AUR. Right now they're not showing up in the output of "yaourt -Qu --aur".

falconindy wrote:

This isn't the proper forum to be asking questions about yaourt.

I'm sorry. What is?

Offline

#5 2011-06-19 15:41:30

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: yaourt "local/" packages vs "aur/" packages

The AUR forum, or archlinux.fr.

If all you want to see is AUR updates, cower can do that as simply as 'cower -u'.

Offline

#6 2011-06-19 15:44:24

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

Re: yaourt "local/" packages vs "aur/" packages

falconindy wrote:

If all you want to see is AUR updates, cower can do that as simply as 'cower -u'.

As I said above, I want to be able to see all updates: core, extra, community, and aur. I'm guessing yaourt cannot do this, then?

Offline

#7 2011-06-19 16:28:42

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: yaourt "local/" packages vs "aur/" packages

yaourt -Su

although you should really run a y flag too

Last edited by SS4 (2011-06-19 16:29:06)


Rauchen verboten

Offline

#8 2011-06-19 16:59:18

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: yaourt "local/" packages vs "aur/" packages

yaourt -Syua && man yaourt

Offline

#9 2011-06-20 00:08:18

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

Re: yaourt "local/" packages vs "aur/" packages

Thanks. The yaourt man page is very sparse, and yaourt apparently does not duplicate nearly as much of pacman's behaviour as I expected it to. I was looking for a query function (i.e., something comparable to "pacman -Qu" that includes AUR), not a sync option, but it looks like it doesn't exist.

Offline

#10 2011-06-20 00:58:38

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: yaourt "local/" packages vs "aur/" packages

pacman -Qm or yaourt -Qm 

will list any package that didn't come from the official Arch repos, whether you got the source code from the AUR or some other source. local/<package> just refers to any package built locally, rather than retrieved via pacman's sync databases; hence, if you got the source for a package from the AUR, -Qm will list it.  The command I posted in my previous post will check the AUR for PKGBUILDs that have been updated in the meantime.  Yaourt only checks updates to the PKGBUILD, and so won't automatically retrieve anything from a development repo (git, svn, bzr, etc), which is good practice anyway for both security and stability reasons.

Offline

#11 2011-06-20 01:23:33

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

Re: yaourt "local/" packages vs "aur/" packages

ANOKNUSA wrote:

Yaourt only checks updates to the PKGBUILD, and so won't automatically retrieve anything from a development repo (git, svn, bzr, etc), which is good practice anyway for both security and stability reasons.

Thanks, this is good to know! I can imagine I might have got very confused by this.

Offline

Board footer

Powered by FluxBB