Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

apt try looking in /usr/lib/apt/methods when they are in /usr/lib64/apt/methods #232

Open
sergiomb2 opened this issue Apr 24, 2017 · 13 comments
Assignees

Comments

@sergiomb2
Copy link

relative to apt-1.2.17-1.fc24.x86_64:
apt-get update
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/http could not be found.
W: No sandbox user '_apt' on the system, can not drop privileges
E: Failed to fetch xxxxxxx
E: Some index files failed to download. They have been ignored, or old ones used instead.

after run ln -s /usr/lib64/apt/ /usr/lib/apt apt-get update starts to work

@alick
Copy link
Member

alick commented Jun 30, 2019

Is the issue still present on Fedora 29 & 30?

@sergiomb2
Copy link
Author

no, also apt last update was 3 years ago

@sztsian
Copy link
Member

sztsian commented Jun 30, 2019

We stopped building apt a long time ago due to capacity.

@alick
Copy link
Member

alick commented Jun 30, 2019

Should we take down the following packages?

https://mirrors.tuna.tsinghua.edu.cn/fzug/free/30/x86_64/


apt-1.2.17-1.fc30.x86_64.rpm | 11.0 MiB | 2019-05-08 21:30
-- | -- | --
apt-devel-1.2.17-1.fc30.x86_64.rpm | 122.5 KiB | 2019-05-08 21:30

@sztsian
Copy link
Member

sztsian commented Jul 1, 2019

I suggest keep them there - it's due to maintenance capacity, so it makes sense if others want to update and send a PR.

@sztsian
Copy link
Member

sztsian commented Jul 3, 2019

Thanks. Actually I am working on the 1.8.2 now and hopefully I can probably post something to test this week.

@sztsian
Copy link
Member

sztsian commented Jul 3, 2019

Can you test this one?
https://copr-be.cloud.fedoraproject.org/results/zsun/test/fedora-30-x86_64/00956131-apt/apt-devel-1.8.2-1.fc30.x86_64.rpm
Note, I removed the default sources.list file since I suspect that we won't be able to follow up with Debian or Ubuntu releases in updating the package itself.

@sergiomb2
Copy link
Author

no luck , I'm running F29 x86_64 and that build failed !

@sztsian
Copy link
Member

sztsian commented Jul 4, 2019

Hmm I thought you already updated to Fedora 30. I'll take a look for the build later on.

@sergiomb2
Copy link
Author

sergiomb2 commented Jul 6, 2019

ok don't worry I'm upgrading my laptop to F30 now

@sergiomb2
Copy link
Author

Hi , I finally tested [1] but is not working

apt-get  update
Reading package lists... Done
E: The method driver /usr/libexec/apt/methods/http could not be found.
N: Is the package apt-transport-http installed?
E: The method driver /usr/libexec/apt/methods/http could not be found.
N: Is the package apt-transport-http installed?

[1] https://copr-be.cloud.fedoraproject.org/results/zsun/test/fedora-30-x86_64/00956131-apt/apt-1.8.2-1.fc30.x86_64.rpm

@sergiomb2
Copy link
Author

Old apt 1.4.8 build by me [1] have many files on methods directory [2]

[1]
https://copr.fedorainfracloud.org/coprs/sergiomb/debs/package/apt/

[2]

rpm -q apt-1.4.8-1.fc30.x86_64 -l | grep methods
/usr/libexec/apt/methods
/usr/libexec/apt/methods/bzip2
/usr/libexec/apt/methods/cdrom
/usr/libexec/apt/methods/copy
/usr/libexec/apt/methods/file
/usr/libexec/apt/methods/ftp
/usr/libexec/apt/methods/gpgv
/usr/libexec/apt/methods/gzip
/usr/libexec/apt/methods/http
/usr/libexec/apt/methods/https
/usr/libexec/apt/methods/lzma
/usr/libexec/apt/methods/mirror
/usr/libexec/apt/methods/rred
/usr/libexec/apt/methods/rsh
/usr/libexec/apt/methods/ssh
/usr/libexec/apt/methods/store
/usr/libexec/apt/methods/xz
/usr/libexec/dpkg/methods
/usr/libexec/dpkg/methods/apt
/usr/libexec/dpkg/methods/apt/desc.apt
/usr/libexec/dpkg/methods/apt/install
/usr/libexec/dpkg/methods/apt/names
/usr/libexec/dpkg/methods/apt/setup
/usr/libexec/dpkg/methods/apt/update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants