Newbie question with Smart

Sriram Narayanan sriram at belenix.org
Sat Jul 16 11:56:42 PDT 2011


Some more inputs.
- I've created the repository using createrepo
- My repodata folder contents are:
sriram at ram-oi:/usr/src/rpm/RPMS/i86pc/repodata$ ls -l
total 12
-rw-r--r-- 1 sriram staff  629 2011-07-16 17:31
3bcf248ee5415e1c8560b142da30c8e3b764a9807a2088172aba2948337f836f-primary.xml.gz
-rw-r--r-- 1 sriram staff  668 2011-07-16 17:31
58c38d29120da9aeb5cb1727d9cd870f0bb9fc46edafc6d90eb4e1242d36a926-filelists.sqlite.bz2
-rw-r--r-- 1 sriram staff  280 2011-07-16 17:31
7ea446b0af92e946571ec46949e8e69685a920965474e852605a68e0beb63288-other.xml.gz
-rw-r--r-- 1 sriram staff 1457 2011-07-16 17:31
b6ac6ac006c4012822f89f4a9c6a72ad172c4ed5900edbff1cd4d55d61ec3d5c-primary.sqlite.bz2
-rw-r--r-- 1 sriram staff  643 2011-07-16 17:31
cf9f878eaa176ebc628143ccd73c10729cf4c9e77b7566b62c82f2b9d6672959-other.sqlite.bz2
-rw-r--r-- 1 sriram staff  284 2011-07-16 17:31
fd5f70572460d6223d85c85d13b88c7228c6fc7ba04309c29c157d7346d2d1cb-filelists.xml.gz
-rw-r--r-- 1 sriram staff 2972 2011-07-16 17:31 repomd.xml

I've created a repo right there within /usr/src/rpm, this is just for
testing purposes.

-- Sriram

On Sun, Jul 17, 2011 at 12:24 AM, Sriram Narayanan <sriram at belenix.org> wrote:
> Hi everyone:
>
> I'm using smart 1.4 on an opensolaris based platform.
>
> I've created a repository which has just one rpm registered with it (git 1.7.6).
>
> I've installed smart after applying a Solaris specific patch given
> here (https://bugs.launchpad.net/smart/+bug/345326).
>
> I've added a channel, and am able to run an update, but I'm unable to
> install the package. What should I investigate ?
>
> sriram at ram-oi:/workspace/smart/smart-1.4$ smart channel --show
> [ramlocal]
> type = rpm-md
> name = Ram laptop
> baseurl = http://localhost/
>
> [rpm-sys]
> type = rpm-sys
> name = RPM System
>
>
> sriram at ram-oi:/workspace/smart/smart-1.4$ sudo smart update
> Loading cache...
> Updating cache...
> ###################################################################################################
> [100%]
>
> Fetching information for 'Ram laptop'...
> -> http://localhost/repodata/repomd.xml
> repomd.xml
> ###################################################################################################
> [ 50%]
>
> Updating cache...
> ###################################################################################################
> [100%]
>
> Channels have no new packages.
> sriram at ram-oi:/workspace/smart/smart-1.4$ smart search git
> Loading cache...
> Updating cache...
> ###################################################################################################
> [100%]
>
> -- Sriram
> Belenix: www.belenix.org
>



-- 
Belenix: www.belenix.org



More information about the Smart mailing list