New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aptitude is not working in Whonix VMs #3882

Open
starius opened this Issue May 5, 2018 · 7 comments

Comments

Projects
None yet
4 participants
@starius

starius commented May 5, 2018

Qubes OS version:

R4.0

Affected component(s):

Whonix


Steps to reproduce the behavior:

Open Konsole in whonix-gw or whonix-ws and type sudo aptitude update

Expected behavior:

I expect the command to work.

Actual behavior:

The command fails.

whonix-aptitude

At the same time, apt-get works in Whonix. Also, on Debian both apt-get and aptitude work.

@marmarek

This comment has been minimized.

Show comment
Hide comment
Member

marmarek commented May 6, 2018

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos May 6, 2018

Member

Maybe uwt issue.

https://github.com/Whonix/qubes-whonix/blob/master/etc/uwt.d/40_qubes.conf#L70

What if you run sudo aptitude-curses update directly, does that work?

~ $ ls -la /usr/bin/aptitude
lrwxrwxrwx 1 root root 26 Aug  9  2016 /usr/bin/aptitude -> /etc/alternatives/aptitude

~ $ ls -la /etc/alternatives/aptitude
lrwxrwxrwx 1 root root 24 Aug  9  2016 /etc/alternatives/aptitude -> /usr/bin/aptitude-curses

Looks same for you?

Member

adrelanos commented May 6, 2018

Maybe uwt issue.

https://github.com/Whonix/qubes-whonix/blob/master/etc/uwt.d/40_qubes.conf#L70

What if you run sudo aptitude-curses update directly, does that work?

~ $ ls -la /usr/bin/aptitude
lrwxrwxrwx 1 root root 26 Aug  9  2016 /usr/bin/aptitude -> /etc/alternatives/aptitude

~ $ ls -la /etc/alternatives/aptitude
lrwxrwxrwx 1 root root 24 Aug  9  2016 /etc/alternatives/aptitude -> /usr/bin/aptitude-curses

Looks same for you?

@starius

This comment has been minimized.

Show comment
Hide comment
@starius

starius May 6, 2018

What if you run sudo aptitude-curses update directly, does that work?

No, I see the same errors:

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-amd64/Packages:
Cannot initiate the connection to 127.0.0.1:8082 (127.0.0.1). - connect (1: Operation not permitted)

Looks same for you?

Yes.

I did not change anything in Whonix templates - it happened right after installation of Qubes 4.

starius commented May 6, 2018

What if you run sudo aptitude-curses update directly, does that work?

No, I see the same errors:

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-amd64/Packages:
Cannot initiate the connection to 127.0.0.1:8082 (127.0.0.1). - connect (1: Operation not permitted)

Looks same for you?

Yes.

I did not change anything in Whonix templates - it happened right after installation of Qubes 4.

adrelanos added a commit to Whonix/uwt that referenced this issue Jun 5, 2018

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jun 13, 2018

Member

Note to self: works in Qubes-Whonix 14 / Qubes R3.2

Member

adrelanos commented Jun 13, 2018

Note to self: works in Qubes-Whonix 14 / Qubes R3.2

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jun 13, 2018

Member

This is fixed in Qubes-Whonix 14 after upgrades. Please test.

Member

adrelanos commented Jun 13, 2018

This is fixed in Qubes-Whonix 14 after upgrades. Please test.

@starius

This comment has been minimized.

Show comment
Hide comment
@starius

starius Jun 13, 2018

I upgraded everything using Qube Manager and restarted the VM. Still getting that error.
How to check the Whonix version I am using?

$ lsb_release -a
No LSB modules are available.
Distributor ID: Whonix
Description:    Whonix GNU/Linux 8.10 (jessie)
Release:        8.10
Codename:       jessie

starius commented Jun 13, 2018

I upgraded everything using Qube Manager and restarted the VM. Still getting that error.
How to check the Whonix version I am using?

$ lsb_release -a
No LSB modules are available.
Distributor ID: Whonix
Description:    Whonix GNU/Linux 8.10 (jessie)
Release:        8.10
Codename:       jessie
@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jun 14, 2018

Member

Expected. You're on stable rather than testers-only version. Fixed inQubes-Whonix 14 after upgrades only.

Member

adrelanos commented Jun 14, 2018

Expected. You're on stable rather than testers-only version. Fixed inQubes-Whonix 14 after upgrades only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment