dpkg: error: cannot access archive 'package.deb': No such file or directory
时间: 2023-11-25 07:58:29 浏览: 119
This error message indicates that the package manager "dpkg" is unable to find the package file "package.deb" in the current directory or the specified path.
To resolve this issue, make sure that the package file is located in the correct directory or path. You can also try specifying the full path to the package file when running the dpkg command.
For example, if the package file is located in the Downloads folder, you can run the following command:
```
sudo dpkg -i ~/Downloads/package.deb
```
This command specifies the full path to the package file using the tilde symbol (~) to represent the user's home directory. Make sure to replace "package.deb" with the actual name of the package file.