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

Install failed when .deb file was in my personal Downloads directory #27

Open
terrillmoore opened this issue Sep 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@terrillmoore
Copy link
Member

System: ubuntu 22.04 LTS
Cricket version: 2.6.1
Test system: MCCI-ci02

Process:

  1. Download .tar.gz to ~/Downloads.
  2. Untar the file to ~/Downloads/Cricket_2.6.1_all.deb
  3. cd ~/Downloads
  4. Launch install using sudo apt-get install ./Cricket_2.6.1_all.deb

Results

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'cricket' instead of './Cricket_2.6.1_all.deb'
The following NEW packages will be installed:
  cricket
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/104 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Get:1 /home/tmm/Downloads/Cricket_2.6.1_all.deb cricket all 2.6.1 [104 MB]
Selecting previously unselected package cricket.
(Reading database ... 190277 files and directories currently installed.)
Preparing to unpack .../Cricket_2.6.1_all.deb ...
Unpacking cricket (2.6.1) ...
Setting up cricket (2.6.1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
N: Download is performed unsandboxed as root as file '/home/tmm/Downloads/Cricket_2.6.1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

The failure is at the end. I uninstalled, and then moved the .deb to /tmp, and things worked properly. I assume this is because user _apt doesn't have permissions to read into my home directory (as common on Ubuntu, permissions on home directory are 750 (no world access).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants