Upgrade DebianStable (squeeze6.0.7) to the latest stable (Wheezy7.0), tzdatabroken, and reinstall the N graphics card driver.

Source: Internet
Author: User
Tags mozilla thunderbird xen hypervisor
DebianStable (squeeze6.0.7) was upgraded to the latest stable (Wheezy7.0), tzdatabroken, and re-installed N graphics card driver. on September 19, 2013, May.5thdebian officially announced the official release of wheezy, fixed some bugs in [php] Apache... upgrade Debian Stable (squeeze6.0.7) to the latest stable (Wheezy7.0), tzdata broken, and reinstall the N graphics driver. on September 19, 2013, May.5th debian officially announced the official release of wheezy, the new stable release has updated a lot of software, fixed some bugs [php] Apache 2.2.22 Asterisk 1.8.13.1 GIMP 2.8.2 an updated version of the GNOME desktop environment 3.4 GNU Compiler Collection 4.7.2 Icedove 10 (an unbranded version of Mozilla Thunderbird) iceweasel 10 (an unbranded version of Mozilla Firefox) KDE Plasma Workspaces and KDE Applications 4.8.4 kFreeBSD kernel 8.3 and 9.0 LibreOffice 3.5.4 Linux 3.2 MySQL 5.5.30 Nagios 3.4.1 OpenJDK release and kernel Perl 5.14.2 PHP 5.4.4 PostgreSQL 9.1 Python release and 3.2.3 Samba release Tomcat 6.0.35 and 7.0.28 xen Hypervisor 4.1.4 the Xfce 4.8 desktop environment X. org 7.7 more than 36,000 other ready-to-use software packages, built from nearly 17,500 source packages. for the previous squeeze users, the upgrade is still very simple. users in China can directly change the source file by entering the following commands on the terminal, back up the old source file, and directly go to 163 to download the new source file immediately. # cp/etc/apt/sources. list/etc/apt/squeeze_sources_list # wget http://mirrors.163.com/.help/sources.list.wheezy -O/etc/apt/sources. list or copy the following directly, comment the old squeeze or delete [php] deb http://mirrors.163.com/debian Wheezy main non-free contrib deb http://mirrors.163.com/debian Wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian Wheezy main non-free contrib deb-src http://mirrors.163.com/debian Wheezy-proposed-updates main contrib non-free deb http://mirrors.163.com/debian -Security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian -Security wheezy/updates main contrib non-free deb http://http.us.debian.org/debian Wheezy main contrib non-free deb http://non-us.debian.org/debian-non-US Wheezy/non-US main contrib non-free deb http://security.debian.org Wheezy/updates main contrib non-free then # apt-get update # apt-get-y upgrade (here the long wait, see the network speed ...) [php] Setting up tzdata (2013b-2 )... current default time zone: 'Asia/Shanghai' date: invalid date' \ 033 [01; 32 mMon May \ 033 [01; 36m6 \ 033 [01; 32 m \ 033 [01; 36m03 \ 033 [01; 32m \ 033 [01; 34 m: \ 033 [01; 32m \ 033 [01; 36m34 \ 033 [01; 32m \ 033 [01; 34 m: \ 033 [01; 32m \ 033 [01; 36m45 \ 033 [01; 32 m UTC \ 033 [01; 36m2013 \ 033 [0m' dpkg: error p Rocessing tzdata (-- configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: tzdata E: sub-process/usr/bin/dpkg returned an error code (1) reinstall and configure tzdata [php] # apt-get install -- reinstall tzdata # dpkg-reconfigure tzdata prompt [php]/usr/sbin/dpkg-reconfigure: tzdata is broken or not fully ins For more information about the current tzdata-java # apt-cache showpkg tzdata-java [php] Package: tzdata-java Versions: 2013b-2 (/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_main_binary-amd64_Packages) (/var/lib/apt/lists/http.us.debian.org _ debian_dists_wheezy_main_binary-amd64_Packages) (/var/lib/dpkg/status) description Language: en File:/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_main_i18n_Tran Slation-en MD5: Protocol Description Language: File:/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_main_binary-amd64_Packages MD5: 811cf395ae4cc676283711d9bc20443f Reverse Depends: openjdk-6-jre-headless, tzdata-java openjdk-7-jre-headless, tzdata-java openjdk-6-jre-headless, tzdata-java Dependencies: 2013b-2-tzdata (5 2013b-2) Provides: 2013b-2-Reverse Provides: This depends on the tzdata version of tzdata 2013b-2. then, check the [php] # apt-cache showpkg tzdata [php] Package: tzdata Versions: 2013b-2 (/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_main_binary-amd64_Packages) (/var/lib/apt/lists/http.us.debian.org _ debian_dists_wheezy_main_binary-amd64_Packages) (/var/lib/dpkg/status) description Language: en File:/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_mai N_i18n_Translation-en MD5: Protocol Description Language: File:/var/lib/apt/lists/mirrors.163.com _ debian_dists_wheezy_main_binary-amd64_Packages MD5: protocol Reverse Depends: util-linux, tzdata 2006c-2 libc6, tzdata 2007k-1 libapache2-mod-php5, tzdata php5-cli, tzdata php5-cgi, tzdata libical0, tzdata postgresql-9.1, tzdata util-linux, tzdata 2006c-2 tzdat A-java, tzdata 2013b-2 sugar-tools-0.96, tzdata sugar-session-0.96, tzdata sucrose-0.96, tzdata python3-dateutil, tzdata python3-tz, tzdata python-tz, tzdata python-dateutil, tzdata postgresql-9.1, tzdata php5-fpm, tzdata php5-cli, tzdata php5-cgi, tzdata libphp5-embed, tzdata libapache2-mod-php5filter, tzdata libical0, tzdata libc6, tzdata 2007k-1 Dependencies: 2013b-2-debconf (18 0. 5) debconf-2.0 (0 (null) libc0.1 (0 (null) libc0.3 (0 (null) libc6 (0 (null) libc6.1 (0 (null) Provides: 2013b-2-tzdata-wheezy Reverse Provides: Force install this version [php] # apt-get install tzdata = 2013b-2 [php] Reading package lists... done Building dependency tree Reading state information... done tzdata is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1213 not upgraded. 2 Not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up tzdata (2013b-2 )... current default time zone: 'Asia/Shanghai' Local time is now: Mon May 6 12:52:41 CST 2013. universal Time is now: Mon May 6 04:52:41 UTC 2013. run 'dpkg-reconfigure tzdata' if you want to change it. setting up tzdata-java (2013b-2 )... reset the time zone [php] # dpkg-reconfigure tzdata Current default time zone: 'Asia/Shanghai' Local time is now: Mon May 6 12:53:04 CST 2013. U Niversal Time is now: Mon May 6 04:53:04 UTC 2013. repeat [php] # apt-get update # apt-get upgrade. Some prompts will be sent in the middle, such as/etc/mime. types asks if you want to modify or retain the original version. by default, the original version is retained. here I chose Y, which is the same as the package maintainer version. svn. there are also many configurations such as sudoers, as you have set later. I am all Y. then, after a long installation and replacement upgrade, the kernel [php] # apt-get dist-upgrade package will be updated. about 1 ~ 2G. We recommend that you upgrade all night and restart after the upgrade is completed in the morning. an error occurred after the download. [php] E: cocould not perform immediate configuration on 'libgstreamer0. 10-0 '. please see man 5 apt. conf under APT: Immediate-Configure for details for this problem, I have done the following operations to fix [php] # cd/var/lib/apt/lists find the following file non-us.debian.org_debian-non-US_dists_wheezy_non-US_non-free_binary-amd64_Packages and then go to/etc/apt/sources. list comment out the following line [php] # deb http://non-us.debian.org/debian-non-US Wheezy/non-US main contrib non-free finally reinstall libgstreamer [php] # apt-get install -- reinstall libgstreamer0.10-0 and then re-execute # apt-get dist-upgrade midway through A different content of software updates will pop up, you can exit q directly. (you can also read it with patience ..) some configuration option windows will pop up in the middle. after reading the window, check whether you need to restart these services. YES is required. [php] indexing ing libc6 ├ ── %│ │ Failure restarting some services for GNU libc upgrade │ The following services cocould not be restarted for the GNU libc library upgrade: │ apache2 │ You will need to start these manually by running '/etc/init. d/ Start '. │ for example. you can configure it separately. note: After the upgrade, it is upgraded from gnome2 to gnome3 and xfce. many of the earlier gnome2 gadgets are missing. N card driver cannot be installed. to install the N-card driver. first, check the installation failure log of N card in/var/lib/dkms/nvidia/310.44/build/make. log number. the N card driver version number you have installed is [php] *** Unable to determine the target kernel version. * ** make: ** [select_makefile] Error 1 indicates that the kernel version is not found. #/usr/lib/dkms-autoinstaller start 3.2.0-4-amd64 # sh. /Nvidia. xxxx. run -- kernal-source-path =/lib/modules/3.2.0-4-amd64/build/prompts to install dkms, No. the next step is the same as installing N cards. after the installation is complete, restart and the video card driver will be available. after the restart, it enters gnome3 .... I have not installed xfce. upgraded from gnome2 .. some are not used to it. it cannot be customized in many places. some netizens asked for my source files. I added two [php] deb. http://mirrors.163.com/debian Wheezy main non-free contrib deb http://mirrors.163.com/debian Wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian Wheezy main non-free contrib deb-src http://mirrors.163.com/debian Wheezy-proposed-updates main contrib non-free deb http://mirrors.163.com/debian -Security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian -Security wheezy/updates main contrib non-free deb http://http.us.debian.org/debian Wheezy main contrib non-free deb http://non-us.debian.org/debian-non-US Wheezy/non-US main contrib non-free deb http://security.debian.org Wheezy/updates main contrib non-free deb http://ppa.launchpad.net/ubuntu-wine/ubuntu Lucid main deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt All main
Related Article

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.