Announcement

Collapse
No announcement yet.

update problems - Error message "Could not download packages"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    With answer to my first question do you just mean I should use the command "tail..."?



    The certificate shows, "yy-mm-dd 09:43". However, the Dolphin File Manager always shows under in the Dates column only the characters "yy-mm-dd" followed by the time (e.g yy-mm-dd 13:14) but never the real dates. Therefore, I wonder if the display of "yy-mm-dd 09:43" for the certificate has to do with the bug in Dolphin?



    I can understand that you only use commands; I would prefere to be able to do so!

    Comment


      #17
      Originally posted by 52ROSt View Post
      With answer to my first question do you just mean I should use the command "tail..."?
      Yes, please type the entire command as shown in the box. Don't forget to include spaces where you see them, and don't add extra spaces. You've used the tail command before, remember?

      Originally posted by 52ROSt View Post
      The certificate shows, "yy-mm-dd 09:43". However, the Dolphin File Manager always shows under in the Dates column only the characters "yy-mm-dd" followed by the time (e.g yy-mm-dd 13:14) but never the real dates. Therefore, I wonder if the display of "yy-mm-dd 09:43" for the certificate has to do with the bug in Dolphin?
      There is no such bug in Dolphin that I know of. If you're seeing "yy-mm-dd" in places where you should be seeing actual dates, then there's some kind of misconfiguration on your system. I'm not even sure how something like that is possible. Would you please go to System Settings | Locale. Capture and post screenshots of the Country, Languages, Calendar, and Date & Time tabs. Also please post the output of this command:
      Code:
      locale
      Originally posted by 52ROSt View Post
      I can understand that you only use commands; I would prefere to be able to do so!
      It can take a while to become familiar with the command prompt. But it's a very powerful thing, and worth investing the time to learn if you're into that.

      Comment


        #18
        Here are the answers.

        tail... command

        Code:
        rost@rost-ThinkPad-X240:~$ tail -n +1 /etc/apt/preferences.d/*
        Package: libsdl-image1.2
        Pin: version  0.0
        Pin-Priority: 1001
        
        rost@rost-ThinkPad-X240:~$


        locale command

        Code:
        rost@rost-ThinkPad-X240:~$ locale
        LANG=en_US.UTF-8
        LANGUAGE=en
        LC_CTYPE="en_US.UTF-8"
        LC_NUMERIC=en_US.UTF-8
        LC_TIME=en_US.UTF-8
        LC_COLLATE="en_US.UTF-8"
        LC_MONETARY=en_US.UTF-8
        LC_MESSAGES="en_US.UTF-8"
        LC_PAPER=en_US.UTF-8
        LC_NAME=en_US.UTF-8
        LC_ADDRESS=en_US.UTF-8
        LC_TELEPHONE=en_US.UTF-8
        LC_MEASUREMENT=en_US.UTF-8
        LC_IDENTIFICATION=en_US.UTF-8
        LC_ALL=
        rost@rost-ThinkPad-X240:~$

        Screenshots:
        Click image for larger version

Name:	150110_20:32:48_Country-Region & Language – System Settings_001.jpg
Views:	1
Size:	51.6 KB
ID:	642679Click image for larger version

Name:	150110_20:32:22_Country-Region & Language – System Settings_001.jpg
Views:	1
Size:	53.3 KB
ID:	642680Click image for larger version

Name:	150110_20:31:59_Country-Region & Language – System Settings_001.jpg
Views:	1
Size:	56.5 KB
ID:	642681Click image for larger version

Name:	150110_20:31:17_Country-Region & Language – System Settings_001.jpg
Views:	1
Size:	36.1 KB
ID:	642682


        As for the setting, I basically us US English (for spelling and display of menus etc) but Numbers, Money, Others is quite different from US English standard: Thousands grouping is "space", Currency: JPY, Page size: A4, Measurement system: Metric, Byte size unit: Metric.
        My system is also set up to write Japanese using Ibus-Anthy.
        I observed this problem right from the beginning when I opened Dolphin for the first time.




        As for the commands, the book I am looked in/looking in is definitely not the best. It doesn't even contain the "tail" command. Which book(s) would you recommend? I at least want to learn the most basic and often needed commands.

        Comment


          #19
          To fix your date display issue: in the Date & Time tab, use upper case letters, not lowercase. Also, for the long date format, if you want the first three characters of the month name, the keyword is SHORTMONTH, not MMM. To see all possible values, click the question mark button near the upper right corner of the menu and then click one of the date fields.

          The tail command displays the last 10 lines of a file. The -n +1 option combination means to display the entire file from the beginning. If you supply a list of files or a directory with a wildcard (*), the command displays all of the files and prefaces each one with a header that includes the file name. I've had you run this previously because it's handy to see file names and contents. The format is like:
          Code:
          ==> /path/to/file.ext <==
          contents
          of
          the
          file
          
          ==>/path/to/otherfile.ext <==
          stuff
          in
          this
          file
          The output in your post #18 shows that you have only one file in the directory /etc/apt/preferences.d/. I didn't know that tail -n +1 omits the header if there's only one file, heh. I need to see the name of that file. What's the output of
          Code:
          ls -al /etc/apt/preferences.d

          Comment


            #20
            Date and Time configuration is perfect now. I did not know that the ? shows the possible and needed formats. Too much influence still in my brain from MS XP...


            Output ls... command:

            rost@rost-ThinkPad-X240:~$ ls -al /etc/apt/preferences.d
            total 12
            drwxr-xr-x 2 root root 4096 Dec 29 23:42 .
            drwxr-xr-x 6 root root 4096 Jan 3 20:21 ..
            -rw-r--r-- 1 root root 63 Dec 29 23:42 libsdl-image1.2
            rost@rost-ThinkPad-X240:~$

            What does this tell?


            Thanks for the command explanations!

            Comment

            Working...
            X