Opened 5 years ago

Closed 5 years ago

#15228 closed bug (invalid)

Repositories Preflet breaks repositories

Reported by: kallisti5 Owned by: perelandra
Priority: normal Milestone: Unscheduled
Component: Preferences/Repositories Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Double click on the listed repositories a few times, and the preflet breaks the system's repositories:

 pkgman update
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
Refreshing repository "Haiku" failed: No such file or directory
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
Failed to get cache for repository "Haiku". Skipping.: No such file or directory
Error: Failed to open repository file "/boot/system/cache/package-repositories/HaikuPorts": No such file or directory
Refreshing repository "HaikuPorts" failed: No such file or directory
Error: Failed to open repository file "/boot/system/cache/package-repositories/HaikuPorts": No such file or directory
Failed to get cache for repository "HaikuPorts". Skipping.: No such file or directory
Nothing to do.

Change History (3)

comment:1 by kallisti5, 5 years ago

Further complicating things...

> pkgman add-repo https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current
Fetching repository info from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Activating repository config from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
A repository configuration for Haiku already exists.
overwrite? [yes/no] (no) : yes
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
*** request for refreshing repository "Haiku" failed : No such file or directory
> pkgman drop-repo Haiku
Removing repository Haiku ...
Really remove the repository 'Haiku'? [yes/no] (no) : yes
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory

pkgman can't seem to recover from this situation.

comment:2 by kallisti5, 5 years ago

> pkgman add-repo https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current
Fetching repository info from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Activating repository config from https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current ...
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory
*** request for refreshing repository "Haiku" failed : No such file or directory

> pkgman list-repos
        Haiku
                base-url:  https://eu.hpkg.haiku-os.org/haiku/master/x86_64/current
                url:       https://hpkg.haiku-os.org/haiku/master/x86_64/current
                priority:  1
> pkgman drop-repo Haiku
Removing repository Haiku ...
Really remove the repository 'Haiku'? [yes/no] (no) : yes
Error: Failed to open repository file "/boot/system/cache/package-repositories/Haiku": No such file or directory

> pkgman list-repo
>

So... yeah. that's weird. You can repeat this loop with the same results.

Last edited 5 years ago by kallisti5 (previous) (diff)

comment:3 by kallisti5, 5 years ago

Resolution: invalid
Status: newclosed

This isn't the real issue.. It just triggers #15230

Note: See TracTickets for help on using tickets.