sudo rm/var/lib/dpkg/updates/*sudo apt-get updatesudo apt-get upgrade-------------------------------------------------- explained below--------------------------------------------------There is a problem with the files in the Sudo rm/var/lib/dpkg/updates/*/var/lib/
file uses this command to unpack the source code package.
Dpkg-buildpackage
Create a deb package from the Debian source code tree. It takes effect only in the source tree home directory. For example:
Dpkg-buildpackage-rfakeroot-uc-B
Here '-rfakeroot' specifies the command to use the fakeroot program to simulate root permissions (to achieve ownership),'-UC 'indicates "Don't cryptographically sign the change
. Unlike remove, remove only deletes data and is executable.File. Purge also deletes all preparation files.Dpkg-L List all the files installed in .Dpkg-S Show the information of installed packages. Also, see apt-cache to display the package information in the Debian archiveAnd dpkg-I to displayThe package information extracted from the. Deb file.Dpkg-reconfigure Re-prepare an installed package, if it uses d
Problem Recurrence:Problem Solving methods:#先备份原来的, and then re-createsudo mv/var/lib/dpkg/info/var// now rename info folder sudo mkdir/var// re-create a new info folder sudo apt-get update#不用解释了吧, repairing the installationapt-Get -/var/lib/dpkg/info/* /var/lib/dpkg/info.b
When using the installation command sudo apt-Get install XXX on the Ubuntu terminal, the following error may occur:
Input: APT-Get install VimThe following figure is displayed:E: unable to obtain the lock/var/lib/dpkg/lock-open (11: The resource is temporarily unavailable)E: The management directory (/var/lib/dpkg/) cannot be locked. Is there any other process
:~ $ Sudo rm/var/lib/dpkg/info/redis-server .*# Delete all the files in the directory related to redis-server (change the software package name according to the error message of dpkg). I feel that the installation script should be used here. If the old files are not deleted, the newly installed package will contain a new script to delete the old one.
Question 2
I want to install the samba server a few days ago. First I installed an installation package for the samba server, and then I started to report the following error: dpkg: Processing samba4 (-- configure ). At that time, I thought the Operation Document was incorrect and I stopped the installation. As a result, the above error will be reported within a few days after apt-get is used for installation. It seem
For help, the dpkg -- configure-a solution -- general Linux technology-Linux technology and application information may be caused by incorrect operations when JAVAPlugin is installed in ubuntu. For details, refer to the following. For help: I have downloaded the patch when installing JAVA Plugin ubuntu. During the installation process, the terminal window is accidentally closed,
Cause the following error:
The details are as follows: "dpkg was interrupted, you must manually run 'dpkg -- configure-a' to correct the problem ."In this case, you can directly download the software package unless you enter "dpkg -- configure-a". If you are stuck in the download or connection to the
Error occurred while processing: mysql-server-5.5 mysql-servere:sub-process/usr/bin/dpkg returned an error code (1)
This problem just before I met, a period of time has been bothering me, but after my research, slowly groping, also consulted the relevant information, and finally solved the problem smoothly, now I will be the solution to the problem to share to everyone, so that more people know.
Before you delete MySQL, you need to remove/var/lib/my
with the./configure--help to see detailed instructions to help
Make
This step is compiled, it reads the instruction from the makefile, and then compiles the
This step is compiled, and most of the source code packages are compiled in this step
Of course, some perl or Python-written software needs to call Perl or Python to compile
If error occurs during the make process, you need to write down the error code
This document tags: linux system tips configuration sudo command sudoers file Linux User Rights Internet gossipLet's say you run a Linux system on a computer that you use on your own, like on a laptop, you need to enter a password every time you call sudo, and you'll find it tedious for the long term. Therefore, in this guide, we will describe how to configure
Configure sudo in Linux
Operating System: RHEL 6.4-64-bit
After configuring sudo, the root user can execute commands as the root user.
By default, normal users have full management permissions on their home directories, but do not have permission to view the files in other users' home directories.
An error is reported when you use a common user to view the direc
Debian common users get root permissions | install and configure sudo, debiansudo
When a common user of the Debian system needs to install the software, he or she will often receive the "Permission denied" prompt. In this case, he or she needs the root Permission. So how can I have root permissions without logging on to the super Administrator account? For most Linux systems, we can use the "
Install and configure sudo in CentOS 7
Sudo is usually referred to as super do or suitable user do. It is a software that uses the security permissions of other users to execute programs in UNIX-like operating systems. Let's see how to configure sudo.# Mongodo
This will op
him do whatever he pleases. For example, we just wanted him to use the LS and ifconfig commands like root, and IWe can change the contents of Sudoers to the following:Username Localhost=/sbin/ifconfig,/bin/lsPassword-free execution of sudo:Username Localhost=nopasswd:/bin/cat,/bin/lsThird, take a look at the meaning of the parameters of sudoers configurationThe first all refers to the host in the network, which can be changed to a specific hostname, which indicates that the user to be added can
Configure sudo users in Centos
Use the cmddo command to write the sudo configuration file
# The COMMANDS section may have other options added to it. #### Allow root to run any commands anywhereroot ALL = (ALL) ALLansible ALL = (ALL) ALL # Allows members of the 'sys 'group to run networking, software, # service management apps and more.
Currently, the user who
What is sudo permission, online is a lot ofMainly because the root authority is too large, afraid of the wrong operation, so sudo permissions appear, of course, I personally see the online documentation is saidConfiguration environment: Centos7First log in to the system with root privilegesThen configure the sudoers file under the ETC directoryThen first give the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.