- cat /etc/debian_version
for Deepin 15.3, its 8.0 Jessie
|FSlint is a utility to find and clean various forms of lint on a filesystem.
I.E. unwanted or problematic cruft in your files or file names.
For example, one form of lint it finds is duplicate files.
It has both GUI and command line modes.
For more info please see the FAQ.
|sudo apt-get install fslint|
Gives a fake root environment , to remove the need to become root for a package build.
fakeroot runs a command in an environment where it appears to have root privileges for file manipulation. This is useful for allowing users to create archives (tar, ar, .deb etc.) with files in them with root permissions/ownership. Without fakeroot one would have to have root privileges to create the constituent files of the archives with the correct permissions and ownership, and then pack them up, or one would have to construct the archives directly, without using the archiver
This package is intended to enable something like:
i.e. to remove the need to become root for a package build. This is done by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around getuid, chown, chmod, mknod, stat, and so on, thereby creating a fake root environment.
fakeroot requires SYSV IPC to operate.
it is a good idea, for security reason, to avoid doing as root everything that could be done as normal user, even if you can run
su because it is your machine.
fakeroot has two usages
1) it fools programs into believing you are indeed root user, which some badly written proprietary software may require even if not needed (usually Windows developer gone Linux) and
2) it allow emulating file mode and ownership changes which you wouldn’t otherwise be able to do, mainly to create a
tar file with correct permissions and ownership, useful for example when packaging software
Imagine that you are a developer/package maintainer, etc. working on a remote server. You want to update the contents of a package and rebuild it, download and customize a kernel from kernel.org and build it, etc. While trying to do those things, you’ll find out that some steps require you to have
Creating the .deb packages
sudo apt-get install dpkg-repack fakeroot mkdir ~/dpkg-repack; cd ~/dpkg-repack fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`
sudo dpkg -i *.deb
4. apt-cache rdepends
‘apt-cache rdepends‘ is used for checking dependencies of a particular package
apt-cache rdepends application_name
It will show a long list of packages on which it depends.
You can redirect output to a file:
apt-cache rdepends texlive-base >dependencies
Remove some of top entries from the file ‘dependencies’ as it will create error.
To make the process easier you can use a do-while loop to read the list of packages from a file ‘dependencies’ and repack using dpkg-repack.
while read line do sudo dpkg-repack $line; done <dependencies
It will start packaging the .deb files into the current directory.
Go to the directory containing the packages through terminal and use the command to install:
sudo dpkg -i *.deb
After completion it may result into some errors that some packages could not be installed. You may try to repack those specific packages again by checking their dependencies.
5. apt-get -f install
Sometimes packages have unmet dependencies and to correct these you can run ‘apt-get -f install’ with no packages.
I was getting an error whenever i was trying to Write/Move files in NTFS drive (Deepin).
Unable to access Drive/RW Protected
Error mounting /dev/sda4 at /media/dump: Command-line `mount -t “ntfs” -o “uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177” “/dev/sda4” “/media/rolindroy/Media Center”‘ exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount ‘/dev/sda4’: Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the ‘ro’ mount option
Use this in the terminal , if u can’t access Windows.
sudo ntfsfix /dev/sdXY
where XY is the partition
e.g sda2 or sdb1
sudo mount -o rw /dev/sdXY)
I couldnt mount so i restarted it and it was working. I was able to Write/Move again.
After installing Deepin 15.3, i have done following:
- installed HP printer
- used Crossover and updated it
- installed adobe flash player by reconfiguring sources.list
- sudo nano /etc/apt/sources.list
# jessie-updates, previously known as ‘volatile’
deb http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie-updates main contrib non-free
- installed Opera
- installed Nemo and removed Deepin file manager (i just didnt like it)
- sudo apt-get install nemo
I am still alive. 🙂
Finally made it work.
I had to download the iso again and it worked.
64bit: click to download (MD5 hash:c52c6d309f311346e996aa82a34af286)
32bit: click to download (MD5 hash:90404d0929499e652f373bfae9f07b41)
Sourceforge, Baidu Yun, MEGA, Community ISO Repository, Google Drive
This problem was bugging me for some days.
It worked after i reinstalled the printer using Printer Settings
I just removed/deleted the installed Printer and Added new one
Though there were some solutions in the web, which, however, didnt work for me.
This seems to work for me as a workaround:
* Open /etc/cups/printers.conf in a text editor.
sudo nano /etc/cups/printers.conf
* Look for a line that says “Reason media-empty-error”. Delete it.
* Save printers.conf and restart cups (sudo /etc/init.d/cups restart).
sudo systemctl stop cups && sudo sed –in-place ‘/Reason media-empty-warning/d’ /etc/cups/printers.conf; sudo systemctl start cups
Using Hewlett-Packard HP LaserJet Professional P1108 has been a pain in @#$ for me. However i succeeded in installing HP Drivers
It is Printer/Fax Setup Utility (ver. 9.0). Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use.
also, hp plugin can be downloaded from here: