Problems encountered by Debian and Solutions

Source: Internet
Author: User
Debian problems and solutions-Linux Release Technology-Debian information. For details, refer to the following section. 1, bash: fdisk: command not found
After the ntfs Driver is installed, the fdisk command cannot be used.
FC5 bash: fdisk: command not found Error
The cause of the error is that the/sbin directory PATH (system user directory) is not in the root $ PATH variable.
Because fdisk is in sbin
Method:
Enter the user directory
# Gedit. bash_porfile
Find PATH = $ PATH: $ HOME/bin.
Add ":/sbin" (no quotation marks) after the row, as shown in the following line:

PATH = $ PATH: $ HOME/bin:/sbin
Save and exit.
The command under/sbin can be used normally after the next restart, without adding the/sbin/path when running the command.

2. Mount the disk of the fat32 File System
Log on from the terminal as a su user, and then use the following command
Fdisk-l view fat32 ID
Mkdir/mnt/wind: Create a folder to store the disk to be mounted.
Mount-t vfat/dev/hda1/mnt/wind
That's all.

3. sub-process post-installation script. Error code 27 is returned.

The following error occurs during apt-get upgrade.

Dpkg: An error occurred while processing ttf-opensymbol (-- configure:
Sub-process · post-installation script · error code returned · 27
An error occurred during processing:
Ttf-opensymbol
E: Sub-process/usr/bin/dpkg returned an error code (1)

PS: When apt-get install kmplayer


Sub-process · post-installation script · error code returned · 27

Solution: http://hcylz.bloghome.cn/posts/133661.html
Code:
Sudo fc-cache-fv 2> & 1 | grep failed | cut-f1-d ":" | xargs-I sudo touch {}& sudo fc-cache-fv
Please note that you can :)

4. garbled characters are displayed in Chinese on the disks mounted to the fat32 file system.
When mounting, you should write as follows:
Debian:/home/apao # mount-o iocharset = utf8/dev/hda6/mnt/wine
Change the character encoding format

5. The Debian system cannot see the rm and rmvb movie solutions.

From: http://hi.baidu.com/chu289/blog/... 42c5d2f7039eb4.html

Required Software Package: w32codecs

Add the source of the package w32codecs:
Under a Super User:
Vi/etc/apt/sources. list

Add: deb http://www.debian-multimedia.org testing main
Apt-get update

Install: apt-get install w32codecs

Enter the following in the console:
Rm-rf/usr/lib/win32/drvc. so/usr/lib/codecs/drvc. so

Right! Root permission is required for the above operations!

OK! Now you can use totem to play files in most windows, such as rm, rmvb, wmv, and asf!
However, there is still no sound, and I have not solved it yet. I just downloaded a realplayer to solve the problem.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.