pi@raspberrypi ~ $ sudo bash lasersim.sh lasersim.sh: line 2: $'\r': command not found lasersim.sh: line 23: $'\r': command not found "nknown command "update aptitude 0.6.8.2 Usage: aptitude [-S fname] [-u|-i] aptitude [options] ... Actions (if none is specified, aptitude will enter interactive mode): install - Install/upgrade packages. remove - Remove packages. purge - Remove packages and their configuration files. hold - Place packages on hold. unhold - Cancel a hold command for a package. markauto - Mark packages as having been automatically installed. unmarkauto - Mark packages as having been manually installed. forbid-version - Forbid aptitude from upgrading to a specific package version. update - Download lists of new/upgradable packages. safe-upgrade - Perform a safe upgrade. full-upgrade - Perform an upgrade, possibly installing and removing packages. build-dep - Install the build-dependencies of packages. forget-new - Forget what packages are "new". search - Search for a package by name and/or expression. show - Display detailed information about a package. versions - Displays the versions of specified packages. clean - Erase downloaded package files. autoclean - Erase old downloaded package files. changelog - View a package's changelog. download - Download the .deb file for a package. reinstall - Download and (possibly) reinstall a currently installed package. why - Show the manually installed packages that require a package, or why one or more packages would require the given package. why-not - Show the manually installed packages that lead to a conflict with the given package, or why one or more packages would lead to a conflict with the given package if installed. Options: -h This help text. --no-gui Do not use the GTK GUI even if available. -s Simulate actions, but do not actually perform them. -d Only download packages, do not install or remove anything. -P Always prompt for confirmation of actions. -y Assume that the answer to simple yes/no questions is 'yes'. -F format Specify a format for displaying search results; see the manual. -O order Specify how search results should be sorted; see the manual. -w width Specify the display width for formatting search results. -f Aggressively try to fix broken packages. -V Show which versions of packages are to be installed. -D Show the dependencies of automatically changed packages. -Z Show the change in installed size of each package. -v Display extra information. (may be supplied multiple times). -t [release] Set the release from which packages should be installed. -q In command-line mode, suppress the incremental progress indicators. -o key=val Directly set the configuration option named 'key'. --with(out)-recommends Specify whether or not to treat recommends as strong dependencies. -S fname Read the aptitude extended status info from fname. -u Download new package lists on startup. (terminal interface only) -i Perform an install run on startup. (terminal interface only) This aptitude does not have Super Cow Powers. "nknown command "upgrade aptitude 0.6.8.2 Usage: aptitude [-S fname] [-u|-i] aptitude [options] ... Actions (if none is specified, aptitude will enter interactive mode): install - Install/upgrade packages. remove - Remove packages. purge - Remove packages and their configuration files. hold - Place packages on hold. unhold - Cancel a hold command for a package. markauto - Mark packages as having been automatically installed. unmarkauto - Mark packages as having been manually installed. forbid-version - Forbid aptitude from upgrading to a specific package version. update - Download lists of new/upgradable packages. safe-upgrade - Perform a safe upgrade. full-upgrade - Perform an upgrade, possibly installing and removing packages. build-dep - Install the build-dependencies of packages. forget-new - Forget what packages are "new". search - Search for a package by name and/or expression. show - Display detailed information about a package. versions - Displays the versions of specified packages. clean - Erase downloaded package files. autoclean - Erase old downloaded package files. changelog - View a package's changelog. download - Download the .deb file for a package. reinstall - Download and (possibly) reinstall a currently installed package. why - Show the manually installed packages that require a package, or why one or more packages would require the given package. why-not - Show the manually installed packages that lead to a conflict with the given package, or why one or more packages would lead to a conflict with the given package if installed. Options: -h This help text. --no-gui Do not use the GTK GUI even if available. -s Simulate actions, but do not actually perform them. -d Only download packages, do not install or remove anything. -P Always prompt for confirmation of actions. -y Assume that the answer to simple yes/no questions is 'yes'. -F format Specify a format for displaying search results; see the manual. -O order Specify how search results should be sorted; see the manual. -w width Specify the display width for formatting search results. -f Aggressively try to fix broken packages. -V Show which versions of packages are to be installed. -D Show the dependencies of automatically changed packages. -Z Show the change in installed size of each package. -v Display extra information. (may be supplied multiple times). -t [release] Set the release from which packages should be installed. -q In command-line mode, suppress the incremental progress indicators. -o key=val Directly set the configuration option named 'key'. --with(out)-recommends Specify whether or not to treat recommends as strong dependencies. -S fname Read the aptitude extended status info from fname. -u Download new package lists on startup. (terminal interface only) -i Perform an install run on startup. (terminal interface only) This aptitude does not have Super Cow Powers. "ouldn't find any package whose name or description matched " "ouldn't find any package whose name or description matched " The following NEW packages will be installed: apache2 apache2-mpm-prefork{ab} apache2-mpm-worker{ab} apache2-utils{a} apache2.2-bin{a} apache2.2-common{a} libapache2-mod-php5{a} libapr1{a} libaprutil1{a} libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} php5 php5-cli{a} php5-common{a} samba 0 packages upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 8,897 kB/10.1 MB of archives. After unpacking 40.7 MB will be used. The following packages have unmet dependencies: apache2-mpm-prefork : Conflicts: apache2-mpm which is a virtual package. apache2-mpm-worker : Conflicts: apache2-mpm which is a virtual package. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) apache2-mpm-worker [Not Installed] The following NEW packages will be installed: apache2 apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a} apache2.2-common{a} libapache2-mod-php5{a} libapr1{a} libaprutil1{a} libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} php5 php5-cli{a} php5-common{a} samba 0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 8,895 kB/10.1 MB of archives. After unpacking 40.6 MB will be used. Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-common armhf 5.4.4-14+deb7u4 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main samba armhf 2:3.6.6-6 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapr1 armhf 1.4.6-3 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapache2-mod-php5 armhf 5.4.4-14+deb7u4 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5 all 5.4.4-14+deb7u4 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-cli armhf 5.4.4-14+deb7u4 404 Not Found 0% [Working]E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-common_5.4.4-14+deb7u4_armhf.deb: 404 Not Found lasersim.sh: line 28: $'\r': command not found lasersim.sh: line 37: $'\r': command not found lasersim.sh: line 43: $'\r': command not found lasersim.sh: line 44: $'\r': command not found : No such file or directoryopt --2014-01-08 18:53:05-- http://beamertool.ath.cx/lasersim.tar.gz%0D Resolving beamertool.ath.cx (beamertool.ath.cx)... 109.73.50.101 Connecting to beamertool.ath.cx (beamertool.ath.cx)|109.73.50.101|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2014-01-08 18:53:05 ERROR 404: Not Found. tar (child): lasersim.tar.gz\r: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now lasersim.sh: line 48: $'\r': command not found mv: cannot stat `lasersim/index.php': No such file or directory mv: cannot stat `lasersim/lasersim': No such file or directory chmod: cannot access `/usr/local/bin/lasersim\r': No such file or directory lasersim.sh: line 54: $'\r': command not found chmod: cannot access `lasersim/config.txt\r': No such file or directory chmod: cannot access `lasersim/textures\r': No such file or directory chmod: cannot access `lasersim/textures/*.*\r': No such file or directory lasersim.sh: line 59: $'\r': command not found mv: cannot stat `/etc/inittab.2': No such file or directory lasersim.sh: line 63: $'\r': command not found lasersim.sh: line 67: $'\r': command not found lasersim.sh: line 68: $'\r': command not found lasersim.sh: line 71: $'\r': command not found Broadcast message from root@raspberrypi (pts/0) (Wed Jan 8 18:53:05 2014): The system is going down for reboot NOW!