Skip to content
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

pk-offline should be able to install eula-required packages #554

Open
develop7 opened this issue Jun 15, 2022 · 4 comments
Open

pk-offline should be able to install eula-required packages #554

develop7 opened this issue Jun 15, 2022 · 4 comments

Comments

@develop7
Copy link

Repro:

  1. Have EULA-requiring packages (e.g. NVIDIA driver) updated
  2. run pkcon -d update, agree all EULAs
  3. run pkcon offline-trigger
  4. reboot

Expected: offline installation succeeds
What happens instead: offline installation fails producing following message

чэр 15 10:59:43 linux-4kt6 PackageKit[909]: update-packages transaction /1_aaedeead from uid 0 finished with eula-required after 841ms

Backend: zypp
OS: openSUSE Tumbleweed 20220613

@hughsie
Copy link
Collaborator

hughsie commented Jun 15, 2022

Is the offline user the same as the user that agreed to the EULA?

@develop7
Copy link
Author

probably no

packagekit-offline-update.service doesn't mention any users so I'm assuming the offline user is root, the user agreed to the EULA is me (uid=1000)

@develop7
Copy link
Author

Yes, the offline user is root (_UID=0):

Wed 2022-06-15 10:59:43.957483 CEST [s=63f81405409f47938b3898fedbbf5334;i=bca4d1;b=7fcf924482874f71a9a7d60947f2c6d8;m=4a8711;t=5e178be0639f1;x=5d403f73bf9d5223]
    _MACHINE_ID=4ee51e58105a4f0da4915e69b1ba2c63
    _HOSTNAME=linux-4kt6
    SYSLOG_FACILITY=3
    _UID=0
    _GID=0
    _CAP_EFFECTIVE=1ffffffffff
    _SELINUX_CONTEXT=unconfined
    _TRANSPORT=syslog
    _SYSTEMD_SLICE=system.slice
    PRIORITY=7
    SYSLOG_IDENTIFIER=PackageKit
    _EXE=/usr/libexec/packagekitd
    _CMDLINE=/usr/libexec/packagekitd
    _SYSTEMD_CGROUP=/system.slice/packagekit.service
    _SYSTEMD_UNIT=packagekit.service
    _COMM=packagekitd
    _BOOT_ID=7fcf924482874f71a9a7d60947f2c6d8
    SYSLOG_TIMESTAMP=Jun 15 10:59:43 
    _PID=909
    _SYSTEMD_INVOCATION_ID=b66b17d9017649599b6b7b03c21d60e5
    MESSAGE=update-packages transaction /1_aaedeead from uid 0 finished with eula-required after 841ms
    _SOURCE_REALTIME_TIMESTAMP=1655283583957483

@develop7
Copy link
Author

develop7 commented Oct 2, 2022

Were you able to confirm the issue? Is there anything I could do to help this issue to gain traction? The package in question is always NVIDIA proprietary drivers from the repository mentioned at https://en.opensuse.org/SDB:NVIDIA_drivers#Tumbleweed, but others might be affected too. Any suggestions what I could start with fixing the issue?

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

No branches or pull requests

2 participants