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

[Alpha][Bug]: main: line 462: /usr/bin/casaos-uninstall: Permission denied #383

Closed
tigerinus opened this issue Jul 21, 2022 · 2 comments
Closed
Assignees
Labels
alpha Issues in Alpha Testing bug Something isn't working
Milestone

Comments

@tigerinus
Copy link
Contributor

What happened?

Tried to install latest alpha release:

$ wget -qO- http://test-get.casaos.io/casaos.new.sh | bash

   _____                 ____   _____
  / ____|               / __ \ / ____|
 | |     __ _ ___  __ _| |  | | (___
 | |    / _` / __|/ _` | |  | |\___ \
 | |___| (_| \__ \ (_| | |__| |____) |
  \_____\__,_|___/\__,_|\____/|_____/

   --- Made by IceWhale with YOU ---

[  OK  ] Your hardware architecture is : x86_64
[  OK  ] Your System is : Linux
[  OK  ] Your Linux Distribution is : ubuntu
[  OK  ] Memory capacity check passed.
[  OK  ] Disk capacity check passed.
[ INFO ] Install the necessary dependencies: ntfs-3g
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  fuse3 libntfs-3g89
The following NEW packages will be installed:
  fuse3 libntfs-3g89 ntfs-3g
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.7 kB/594 kB of archives.
After this operation, 1,803 kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 fuse3 amd64 3.10.5-1build1 [24.7 kB]
Fetched 24.7 kB in 0s (101 kB/s)
Selecting previously unselected package fuse3.
(Reading database ... 114941 files and directories currently installed.)
Preparing to unpack .../fuse3_3.10.5-1build1_amd64.deb ...
Unpacking fuse3 (3.10.5-1build1) ...
Selecting previously unselected package libntfs-3g89.
Preparing to unpack .../libntfs-3g89_1%3a2021.8.22-3ubuntu1.1_amd64.deb ...
Unpacking libntfs-3g89 (1:2021.8.22-3ubuntu1.1) ...
Setting up fuse3 (3.10.5-1build1) ...
update-initramfs: deferring update (trigger activated)
Selecting previously unselected package ntfs-3g.
(Reading database ... 114959 files and directories currently installed.)
Preparing to unpack .../ntfs-3g_1%3a2021.8.22-3ubuntu1.1_amd64.deb ...
Unpacking ntfs-3g (1:2021.8.22-3ubuntu1.1) ...
Setting up libntfs-3g89 (1:2021.8.22-3ubuntu1.1) ...
Setting up ntfs-3g (1:2021.8.22-3ubuntu1.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-41-generic
Scanning processes...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
[ INFO ] Install the necessary dependencies: net-tools
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 204 kB of archives.
After this operation, 819 kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 net-tools amd64 1.60+git20181103.0eebece-1ubuntu5 [204 kB]
Fetched 204 kB in 0s (851 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 115023 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb ...
Unpacking net-tools (1.60+git20181103.0eebece-1ubuntu5) ...
Setting up net-tools (1.60+git20181103.0eebece-1ubuntu5) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
[  OK  ] Current Docker verison is 20.10.17.
[ INFO ] Create folders.
Removed /etc/systemd/system/multi-user.target.wants/casaos.service.
[ INFO ] Start cleaning up the old version.
[  OK  ] Clearance completed.
[ INFO ] Downloading CasaOS for linux/amd64...
[  OK  ] Download successful!
[ INFO ] Extracting...
main: line 462: /usr/bin/casaos-uninstall: Permission denied
[FAILED] Download uninstall script failed, Please check if your internet connection is working and retry.

Screenshots

image

@tigerinus tigerinus added bug Something isn't working alpha Issues in Alpha Testing labels Jul 21, 2022
@tigerinus tigerinus moved this to Need Triage (PM) in CasaOS Issues Jul 21, 2022
@casaos-alpha-bot casaos-alpha-bot bot moved this to Reported in CasaOS Alpha Testing Jul 21, 2022
@tigerinus
Copy link
Contributor Author

image

Tried running the script again, but no luck.

@tigerinus
Copy link
Contributor Author

turned out I have to use sudo in the one-liner:

wget -qO- http://test-get.casaos.io/casaos.new.sh | sudo bash

Repository owner moved this from Reported to Done in CasaOS Alpha Testing Jul 21, 2022
Repository owner moved this from Need Triage (PM) to Done in CasaOS Issues Jul 21, 2022
@JohnGuan JohnGuan added this to the v0.3.4 milestone Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha Issues in Alpha Testing bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants