|
Bugzilla – Full Text Bug Listing |
| Summary: | installing a local file with rug does not work | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Andreas Jaeger <aj> |
| Component: | Zenworks | Assignee: | Klaus Kämpf <kkaempf> |
| Status: | RESOLVED FIXED | QA Contact: | Eric Waldow <ewaldow> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | kkaempf, suse-beta |
| Version: | Beta 7 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Andreas Jaeger
2006-03-11 06:22:13 UTC
zmd-backend.log has:
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(main):399 -------------------------------------
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(main):400 START query-files /var/lib/zmd/zmd.db file:///home/aj/nxshell-1.3-2.i586.rpm
2006-03-11 07:21:27 <1> x40(395) [solver] Resolver.cc(Resolver):77 System architecture is 'i686'
2006-03-11 07:21:27 <1> x40(395) [zypp_detail] ZYppImpl.cc(ZYppImpl):73 defaultTextLocale: 'en'
2006-03-11 07:21:27 <1> x40(395) [zypp_detail] ZYppImpl.cc(ZYppImpl):82 uname architecture is 'i686'
2006-03-11 07:21:27 <1> x40(395) [zypp_detail] ZYppImpl.cc(ZYppImpl):119 System architecture is 'i686'
2006-03-11 07:21:27 <1> x40(395) [zypp_detail] ZYppImpl.cc(initTarget):190 initTarget( /, 1)
2006-03-11 07:21:27 <0> x40(395) [store] PersistentStorage.cc(PersistentStorage):52 Creating XML Files backend
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(initDatabase):376 Calling initDatabase: '(/)/var/lib/rpm'
2006-03-11 07:21:27 <1> x40(395) [rpm] librpmDb.cc(unblockAccess):326 Unblock access
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(DbDirInfo):482 '(/)/var/lib/rpm':
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(DbDirInfo):482 Dir: /var/lib/rpm{d 0755 0/0}
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(DbDirInfo):482 V4: /var/lib/rpm/Packages{- 0644 0/0 size 33083392}
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(DbDirInfo):482 V3: /var/lib/rpm/packages.rpm{does not exist}
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(DbDirInfo):482 V3ToV4: /var/lib/rpm/packages.rpm3{does not exist}
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(internal_initDatabase):474 Found rpm4 database in /var/lib/rpm{d 0755 0/0}
2006-03-11 07:21:27 <0> x40(395) [rpm] RpmDb.cc(internal_initDatabase):487 Initial state: V4(X--)V3(---): '(/)/var/lib/rpm'[librpmDb CLOSED '(/)/var/lib/rpm']
2006-03-11 07:21:27 <1> x40(395) [rpm] librpmDb.cc(dbAccess):228 Set new database location: '(/)/var/lib/rpm'
2006-03-11 07:21:27 <1> x40(395) [rpm] librpmDb.cc(globalInit):142 librpm init done: (_target:i586-linux) (_dbpath:/var/lib/rpm)
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(D):83 DBACCESS {0(/)/var/lib/rpm}
2006-03-11 07:21:27 <0> x40(395) [rpm] RpmDb.cc(internal_initDatabase):504 Access state: V4(X--)V3(---): '(/)/var/lib/rpm'[0x808b8f0]
2006-03-11 07:21:27 <0> x40(395) [rpm] librpmDb.cc(dbRelease):293 dbRelease: release, outstanding 0
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(initDatabase):444 InitDatabase: RpmDb[V4(X--)V3(---): '(/)/var/lib/rpm']
2006-03-11 07:21:27 <1> x40(395) [target] TargetImpl.cc(TargetImpl):65 Initialized target on /
2006-03-11 07:21:27 <1> x40(395) [DbAccess] DbAccess.cc(DbAccess):194 DbAccess::DbAccess(/var/lib/zmd/zmd.db)
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(main):422 Doing a file/directory query
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(query):287 query(file:///home/aj/nxshell-1.3-2.i586.rpm) path '/home/aj/nxshell-1.3-2.i586.rpm'
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(query_file):42 query_file(/home/aj/nxshell-1.3-2.i586.rpm)
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmHeader.cc(readPackage):118 0x80940e0 from /home/aj/nxshell-1.3-2.i586.rpm
2006-03-11 07:21:27 <1> x40(395) [DbAccess] DbAccess.cc(writeStore):974 Wrote 1 resolvables to database, last rowid 8563
2006-03-11 07:21:27 <1> x40(395) [query-files] query-files.cc(main):431 END query-files
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(closeDatabase):711 Calling closeDatabase: RpmDb[V4(X--)V3(---): '(/)/var/lib/rpm']
2006-03-11 07:21:27 <1> x40(395) [rpm] librpmDb.cc(blockAccess):313 Block access
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(closeDatabase):739 closeDatabase: RpmDb[NO_INIT]
2006-03-11 07:21:27 <1> x40(395) [target] TargetImpl.cc(~TargetImpl):76 Targets closed
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(~RpmDb):318 ~RpmDb()
2006-03-11 07:21:27 <1> x40(395) [rpm] RpmDb.cc(~RpmDb):323 ~RpmDb() end
Fixed. STill fails with current packages as of 2006-03-15 (even the ones in ~maw) Works fine for me. Can you paste the exact rug command and the output please? $ rug in -i ./glibc-2.4-6.x86_64.rpm blah blahb lah blah blahb lah ERROR: Object reference not set to an instance of an object 'blah blahb lah' ... I have no idea where it's coming from, grepping rug and zmd sources does not have any matches.
But about the actual bug, here are the relevant info from database after quering a local package:
zypp backend:
889|zsh|4.2.6|8|0|3|6812309||0|0|0|889|System/Shells|Shell with comprehensive completion|Zsh is a UNIX command interpreter (shell) that resembles the Korn shell(ksh). It is not completely compatible. It includes many enhancements,
notably in the command-line editor, options for customizing its
behavior, file name globbing, features to make C-shell (csh) users feel
at home, and extra features drawn from tcsh (another `custom' shell).
Zsh is well known for its command line completion|/home/tambet/zsh.rpm|||6812309|0|1
libredcarpet backend
879|zsh|4.2.6|8|0|3|6812309|@local|0|1||879|System Packages|Shell with comprehensive completion|Zsh is a UNIX command interpreter (shell) that resembles the Korn shell
(ksh). It is not completely compatible. It includes many enhancements,
notably in the command-line editor, options for customizing its
behavior, file name globbing, features to make C-shell (csh) users feel
at home, and extra features drawn from tcsh (another `custom' shell).
Zsh is well known for its command line completion.
Authors:
--------
Paul Falstad||/home/tambet/zsh.rpm||2167837|0|
Things that are wrong:
zypp doesn't set catalog field
zypp doesn't set local field
zypp sets package_url instead of package_filename
package_url is a remote url and means it has to be downloaded. package_filename is the local path.
--> Klaus
Tambet, thanks for analyzing this. Fixed now in query-files (rev 2499) - set catalog to @local if not specified otherwise - considers "file://" also local (besides "cd:/" and "dvd:/" ...) submitting to stable ... *** Bug 155475 has been marked as a duplicate of this bug. *** |