http://www.handhelds.org/~bugzilla/show_bug.cgi?id=1619

           Summary: ipkg ignores file on command line in favor of own
                    download
           Product: ipkg
           Version: 0.99.148-r0
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ipkg
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'm trying to directly install an .ipk (on OpenZaurus 3.5.4) as the version in
the feed isn't to my liking. ipkg version is 0.99.159.

So one would think the following works
1) Download x.ipk file
2) Call ipkg install x.ipk 
3) x get's installed from x.ipk

Especially as the documentation contained within ipkg says:
[...]
        install <file.ipk>      Install package <file.ipk>
[...]
(Note that it says nothing about installing something from the feed instead)

Alas, what actually is installed is the file from the feed. Probably because
that has a "-r4" at the end of the version string. See the following debug
output (where I already tried to convince ipkg to ignore version numbers):

[EMAIL PROTECTED]:/media/ram# ipkg -V 3 -nodeps -force-downgrade install
portabase_1.9_arm.ipk        
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
best installation candidate for portabase
 adding portabase to providers
  portabase arch=arm arch_priority=16 version=1.9-r4  
  portabase arch=arm arch_priority=16 version=1.9  
 Found a valid candidate for the install: portabase 1.9  
 Found a valid candidate for the install: portabase 1.9-r4  
arch arm (priority 16) supported for pkg portabase
Installing portabase (1.9-r4) to root...
Downloading
http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/feed/opie/portabase_1.9-r4_arm.ipk
Running script /tmp/ipkg-XIB4NP/portabase-o6c6BV/preinst
  installing maintainer scripts
  installing data files
    extracting data files to /
    Calling pkg_write_filelist from install_data_files
    creating portabase.list file
    creating //usr/lib/ipkg/info/portabase.list file for pkg portabase
  resolving conf files
   pkg=portabase old_state_flag=180 state_flag=180
  cleanup temp files
cleanup_temporary_files: pkg=portabase
local_filename=/tmp/ipkg-XIB4NP/portabase_1.9-r4_arm.ipk 
tmp_dir=/tmp/ipkg-XIB4NP
Done.
Configuring unpacked packages
Configuring portabase
Running script //usr/lib/ipkg/info/portabase.postinst
  writing status file
pkg_write_changed_filelists: saving changed filelists
Calling pkg_write_filelist for pkg=portabase from pkg_write_changed_filelists
    creating portabase.list file
    creating //usr/lib/ipkg/info/portabase.list file for pkg portabase
hash_table[pkg-hash] n_buckets=0 n_elements=4321 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=6418 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to